Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009163/0.0009163, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008878/0.0008878, allocations: 147.1 kB / 24.89 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.883/0.883, allocations: 173.4 MB / 201.5 MB, free: 8.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 268.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.331e-05, allocations: 6.25 kB / 268.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.00268/0.002693, allocations: 2.023 MB / 270.5 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.00415, allocations: 1.102 MB / 271.6 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003111/0.007262, allocations: 7.938 kB / 271.6 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.007766, allocations: 159.3 kB / 271.8 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.008005, allocations: 123.4 kB / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.008495, allocations: 243.2 kB / 272.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.008731, allocations: 219.3 kB / 272.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.008824, allocations: 38.39 kB / 272.4 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.008967, allocations: 119.7 kB / 272.5 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.009076, allocations: 87.7 kB / 272.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.009101, allocations: 12 kB / 272.6 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.009219, allocations: 71.83 kB / 272.6 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.009285, allocations: 55.81 kB / 272.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/0.009338, allocations: 43.8 kB / 272.7 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.009578, allocations: 199.2 kB / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.00958, allocations: 0 / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.009581, allocations: 0 / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.009583, allocations: 0 / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004742/0.01006, allocations: 453.2 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.01009, allocations: 12.03 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.01014, allocations: 32.84 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00326/0.0134, allocations: 225.5 kB / 273.6 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.01342, allocations: 8.375 kB / 273.7 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.01344, allocations: 16.31 kB / 273.7 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.01373, allocations: 241 kB / 273.9 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.01374, allocations: 3.938 kB / 273.9 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.01375, allocations: 0 / 273.9 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.01376, allocations: 7.984 kB / 273.9 MB, free: 472 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.51e-05/0.01381, allocations: 30.81 kB / 273.9 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.01407, allocations: 219.5 kB / 274.2 MB, free: 196 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.01425, allocations: 174.5 kB / 274.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.01431, allocations: 50.5 kB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.01433, allocations: 19.92 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.013e-05/0.01441, allocations: 66.16 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.01441, allocations: 0 / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002014/0.01461, allocations: 129.5 kB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.01467, allocations: 114.8 kB / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.01506, allocations: 234.6 kB / 274.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01508, allocations: 33.7 kB / 275 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.01513, allocations: 104.5 kB / 275.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.01515, allocations: 31.77 kB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.0152, allocations: 37.69 kB / 275.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.01528, allocations: 334.8 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.0153, allocations: 10.83 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.01536, allocations: 79.7 kB / 275.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.01544, allocations: 86.67 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01544, allocations: 0 / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000116/0.01555, allocations: 100.3 kB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.01557, allocations: 8 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01557, allocations: 0 / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.01558, allocations: 4 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/0.01564, allocations: 15.92 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.01564, allocations: 4.156 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.01569, allocations: 12 kB / 275.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.0157, allocations: 4 kB / 275.8 MB, free: 14.39 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,$CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.065e-05/0.01578, allocations: 136.9 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/0.01587, allocations: 93.81 kB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.922e-05/0.01597, allocations: 79.39 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01598, allocations: 4 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.01598, allocations: 4 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.01598, allocations: 3.984 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.0191, allocations: 109.8 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.0191, allocations: 4 kB / 276.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.01914, allocations: 15.92 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01914, allocations: 3.938 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01915, allocations: 7.938 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01915, allocations: 4 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01915, allocations: 0 / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.983e-05/0.01924, allocations: 108.4 kB / 276.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.0193, allocations: 31.8 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.01933, allocations: 15.92 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.77e-05/0.01937, allocations: 8 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.0194, allocations: 7.984 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.01941, allocations: 4 kB / 276.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.977e-05/0.01949, allocations: 89.55 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01949, allocations: 0 / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00022/0.01971, allocations: 35.94 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/0.0209, allocations: 0.523 MB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.02104, allocations: 79.53 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.02104, allocations: 4 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.063e-05/0.02107, allocations: 16.86 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.02134, allocations: 112.6 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.02178, allocations: 361.4 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.704e-05/0.02183, allocations: 96.25 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.314e-05/0.02189, allocations: 26.27 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0031/0.02499, allocations: 83.36 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02499, allocations: 0 / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Templates: time 0.008742/0.03373, allocations: 3.368 MB / 281.2 MB, free: 9.145 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.711520452052355]