Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001216/0.001216, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009918/0.0009918, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.046/1.046, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.327e-05, allocations: 2.312 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.005764/0.005777, allocations: 2.055 MB / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.007404, allocations: 1.238 MB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.007517, allocations: 7.938 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.008034, allocations: 163.3 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.008348, allocations: 171.2 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.008781, allocations: 203.2 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.009031, allocations: 239.3 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.009136, allocations: 28.58 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.009284, allocations: 131.6 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.009401, allocations: 83.77 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.009427, allocations: 16 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.009547, allocations: 63.89 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.009615, allocations: 59.75 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.009676, allocations: 51.84 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.009938, allocations: 195.2 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.00994, allocations: 0 / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.009941, allocations: 0 / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.009945, allocations: 0 / 277.6 MB, free: 12.77 MB / 266.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.001685/0.01163, allocations: 0.5828 MB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.01167, allocations: 19.92 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/0.01174, allocations: 36.8 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.01202, allocations: 248.3 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.01204, allocations: 12.36 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.01206, allocations: 12.38 kB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.01248, allocations: 268.3 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.01249, allocations: 192 / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.01251, allocations: 8.375 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.01251, allocations: 3.938 kB / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.0126, allocations: 39.91 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.01301, allocations: 363 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.01323, allocations: 161.3 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.911e-05/0.01333, allocations: 75.22 kB / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.01335, allocations: 7.938 kB / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.913e-05/0.01345, allocations: 73.05 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.01345, allocations: 0 / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003305/0.01378, allocations: 181.4 kB / 279.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.01384, allocations: 131.1 kB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.01402, allocations: 300.3 kB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.01404, allocations: 25.7 kB / 280.1 MB, free: 10 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.01411, allocations: 175.2 kB / 280.3 MB, free: 9.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.01413, allocations: 31.83 kB / 280.3 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.01417, allocations: 43.36 kB / 280.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.0143, allocations: 0.5001 MB / 280.8 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.01433, allocations: 15.98 kB / 280.8 MB, free: 9.215 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.039e-05/0.01439, allocations: 103.5 kB / 280.9 MB, free: 9.078 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.697e-05/0.01447, allocations: 102.3 kB / 281 MB, free: 8.953 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01447, allocations: 0 / 281 MB, free: 8.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001245/0.01459, allocations: 133.3 kB / 281.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.01461, allocations: 6.812 kB / 281.2 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.01461, allocations: 4 kB / 281.2 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.01462, allocations: 160 / 281.2 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.627e-05/0.01468, allocations: 19.98 kB / 281.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.01468, allocations: 4 kB / 281.2 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.947e-05/0.01472, allocations: 11.94 kB / 281.2 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.01473, allocations: 4 kB / 281.2 MB, free: 8.77 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 7.771e-05/0.01481, allocations: 172.8 kB / 281.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.01491, allocations: 125.3 kB / 281.5 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.01504, allocations: 103.4 kB / 281.6 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01504, allocations: 4 kB / 281.6 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01504, allocations: 0 / 281.6 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01505, allocations: 7.984 kB / 281.6 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.01518, allocations: 196.4 kB / 281.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01518, allocations: 0 / 281.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.376e-05/0.0152, allocations: 8 kB / 281.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.0152, allocations: 7.938 kB / 281.8 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.01521, allocations: 4 kB / 281.8 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.01522, allocations: 7.984 kB / 281.9 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01522, allocations: 3.938 kB / 281.9 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.0154, allocations: 216.9 kB / 282.1 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.01546, allocations: 43.77 kB / 282.1 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.01548, allocations: 12.06 kB / 282.1 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.668e-05/0.01552, allocations: 12 kB / 282.1 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.01555, allocations: 7.984 kB / 282.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.01557, allocations: 7.984 kB / 282.1 MB, free: 7.762 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.01568, allocations: 209.1 kB / 282.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01568, allocations: 3.938 kB / 282.4 MB, free: 7.555 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000178/0.01586, allocations: 39.94 kB / 282.4 MB, free: 7.516 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.0007651/0.01662, allocations: 413.4 kB / 282.8 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.01677, allocations: 91.33 kB / 282.9 MB, free: 7.125 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01677, allocations: 0 / 282.9 MB, free: 7.125 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/0.01681, allocations: 23.98 kB / 282.9 MB, free: 7.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01709, allocations: 114.3 kB / 283 MB, free: 6.988 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.01757, allocations: 386.8 kB / 283.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.075e-05/0.01762, allocations: 88.31 kB / 283.5 MB, free: 6.469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.855e-05/0.01767, allocations: 25.92 kB / 283.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.01771, allocations: 28.5 kB / 283.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01771, allocations: 0 / 283.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of Templates: time 0.006905/0.02461, allocations: 3.348 MB / 286.9 MB, free: 3.105 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8917550640180707]