Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.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.0018/0.0018, allocations: 123.5 kB / 18.41 MB, free: 4.684 MB / 14.72 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.002093/0.002093, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 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 1.449/1.449, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] 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.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|and1.u.1.|and1.u.2.|and1.u.3.|booleanTable.y|changing.u|nand1.u.1.|nand1.u.2.|onDelay.u|or1.u.1.|or1.u.2.|or2.u.1.|or2.u.2.|rSFlipFlop.pre.u|rising.u|set1.y|triggeredAdd.y|xor1.u.1.|xor1.u.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1") translateModel(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|and1.u.1.|and1.u.2.|and1.u.3.|booleanTable.y|changing.u|nand1.u.1.|nand1.u.2.|onDelay.u|or1.u.1.|or1.u.2.|or2.u.1.|or2.u.2.|rSFlipFlop.pre.u|rising.u|set1.y|triggeredAdd.y|xor1.u.1.|xor1.u.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 47.92 kB / 358.7 MB, free: 8.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1039, allocations: 49.43 MB / 408.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004457/0.1084, allocations: 2.449 MB / 410.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.111, allocations: 1.329 MB / 411.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.1112, allocations: 11.94 kB / 411.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008316/0.1121, allocations: 238.9 kB / 412.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.1125, allocations: 155.2 kB / 412.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007738/0.1133, allocations: 294.2 kB / 412.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005468/0.1138, allocations: 483.7 kB / 413 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.1142, allocations: 213.8 kB / 413.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.1144, allocations: 191.2 kB / 413.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.1147, allocations: 211.1 kB / 413.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.1148, allocations: 32 kB / 413.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.115, allocations: 123.9 kB / 413.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.1152, allocations: 127.6 kB / 413.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.1154, allocations: 222.6 kB / 414.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007724/0.1162, allocations: 0.56 MB / 414.7 MB, free: 268 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1162, allocations: 4 kB / 414.7 MB, free: 264 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1162, allocations: 0 / 414.7 MB, free: 264 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1163, allocations: 0 / 414.7 MB, free: 264 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001451/0.1177, allocations: 0.861 MB / 415.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1178, allocations: 12.03 kB / 415.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.1179, allocations: 64.55 kB / 415.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.1184, allocations: 396.7 kB / 416 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.486e-05/0.1185, allocations: 62.64 kB / 416.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.1186, allocations: 39.98 kB / 416.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.1193, allocations: 432.6 kB / 416.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1193, allocations: 0 / 416.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.1194, allocations: 16 kB / 416.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.1194, allocations: 12.44 kB / 416.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.1199, allocations: 273.5 kB / 416.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.122, allocations: 1.671 MB / 418.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006417/0.1226, allocations: 295.9 kB / 418.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.1229, allocations: 138.5 kB / 418.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.758e-05/0.123, allocations: 12 kB / 418.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005065/0.1235, allocations: 328.1 kB / 419.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.234e-06/0.1235, allocations: 0 / 419.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001058/0.1246, allocations: 492 kB / 419.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.1247, allocations: 170.2 kB / 419.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/0.1253, allocations: 493.4 kB / 420.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.1253, allocations: 41.7 kB / 420.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.1256, allocations: 228.9 kB / 420.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.377e-05/0.1257, allocations: 95.3 kB / 420.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.1258, allocations: 122.2 kB / 420.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.1261, allocations: 354.8 kB / 421.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.1264, allocations: 113.1 kB / 421.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.1268, allocations: 270.7 kB / 421.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/0.1274, allocations: 427.1 kB / 422 MB, free: 8.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.1274, allocations: 4.188 kB / 422 MB, free: 8.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008421/0.1282, allocations: 478.7 kB / 422.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.628e-05/0.1283, allocations: 33.7 kB / 422.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.1283, allocations: 4 kB / 422.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.1284, allocations: 8 kB / 422.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.1285, allocations: 47.84 kB / 422.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.1285, allocations: 4 kB / 422.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.1288, allocations: 55.7 kB / 422.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.1289, allocations: 28.28 kB / 422.7 MB, free: 7.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.onDelay.u,$PRE.onDelay.t_next,triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition5,$whenCondition4,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay.t_next,onDelay.delaySignal,onDelay.y,onDelay.u,$whenCondition3,$whenCondition2,sampleTriggerReset.y,sampleTriggerSet.y,rSFlipFlop.pre.u,$PRE.rSFlipFlop.pre.u,rSFlipFlop.QI,rSFlipFlop.Q,triggeredAdd.local_set,triggeredAdd.local_reset,set1.expr[2],set1.expr[1],changing.y,changing.u,$PRE.changing.u,falling.not_u,$PRE.falling.not_u,set1.firstActiveIndex,set1.y,$PRE.set1.y,set1.u[2],set1.u[1],rising.u,$PRE.rising.u,nor1.y,or2.u[1],nand1.u[1],xor1.u[1],or1.u[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,and1.u[2],and1.u[1],$whenCondition6,showValue6.active,showValue5.active,showValue1.number,showValue4.active,showValue3.active,showValue2.active,showValue.active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0003138/0.1292, allocations: 252.5 kB / 422.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.1293, allocations: 47.7 kB / 423 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.1298, allocations: 263.5 kB / 423.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.1298, allocations: 4 kB / 423.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1298, allocations: 8.062 kB / 423.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1298, allocations: 4 kB / 423.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.131, allocations: 0.7793 MB / 424 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.131, allocations: 0 / 424 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.216e-05/0.1311, allocations: 15.98 kB / 424 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1311, allocations: 0 / 424 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.1311, allocations: 15.98 kB / 424 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/0.1312, allocations: 3.938 kB / 424 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1312, allocations: 4.156 kB / 424 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008172/0.132, allocations: 0.5174 MB / 424.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.1322, allocations: 120.8 kB / 424.7 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/0.1323, allocations: 15.98 kB / 424.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.1325, allocations: 23.98 kB / 424.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.1326, allocations: 43.89 kB / 424.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.1327, allocations: 15.98 kB / 424.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000376/0.1331, allocations: 327.1 kB / 425.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1331, allocations: 0 / 425.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000508/0.1336, allocations: 119.7 kB / 425.2 MB, free: 5.082 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 37 (rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,sampleTriggerSet.y,sampleTriggerReset.y,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulseStart,booleanPulse2.pulseStart,or1.u[1],xor1.u[1],nand1.u[1],rising.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,falling.not_u,changing.u,triggeredAdd.y) * Number of discrete states: 12 (falling.not_u,rising.u,set1.y,changing.u,triggeredAdd.y,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,booleanTable.combiTimeTable.nextTimeEvent,rSFlipFlop.pre.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 5 * 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.001637/0.1352, allocations: 474.5 kB / 425.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000788/0.136, allocations: 394.9 kB / 426.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.136, allocations: 0.9375 kB / 426.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.1365, allocations: 248.8 kB / 426.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.137, allocations: 82.36 kB / 426.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.1385, allocations: 0.8362 MB / 427.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.139, allocations: 0.8439 MB / 428.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.1392, allocations: 43.42 kB / 428.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1392, allocations: 0 / 428.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of Templates: time 0.1979/0.3371, allocations: 6.339 MB / 434.5 MB, free: 21.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BooleanNetwork1/BooleanNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.333927756058984]