Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002351/0.002351, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002508/0.002508, allocations: 168 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 250.3 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.208e-05, allocations: 6.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004589/0.004621, allocations: 2.387 MB / 252.7 MB, free: 5.438 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.007375, allocations: 1.22 MB / 254 MB, free: 4.207 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.007567, allocations: 11.88 kB / 254 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008711/0.008438, allocations: 246.9 kB / 254.2 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00043/0.008868, allocations: 167 kB / 254.4 MB, free: 3.789 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006934/0.009561, allocations: 279.2 kB / 254.6 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006135/0.01017, allocations: 479.6 kB / 255.1 MB, free: 3.043 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.01049, allocations: 138.3 kB / 255.2 MB, free: 2.906 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.01091, allocations: 275.3 kB / 255.5 MB, free: 2.637 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.01116, allocations: 167.5 kB / 255.7 MB, free: 2.473 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.01123, allocations: 36 kB / 255.7 MB, free: 2.438 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.01151, allocations: 139.7 kB / 255.9 MB, free: 2.301 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.0117, allocations: 127.5 kB / 256 MB, free: 2.176 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.01189, allocations: 131.6 kB / 256.1 MB, free: 2.047 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008638/0.01275, allocations: 0.5838 MB / 256.7 MB, free: 1.457 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.01276, allocations: 0 / 256.7 MB, free: 1.457 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01276, allocations: 0 / 256.7 MB, free: 1.457 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.01277, allocations: 0 / 256.7 MB, free: 1.457 MB / 234.7 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.001543/0.01431, allocations: 0.7755 MB / 257.5 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.01435, allocations: 15.98 kB / 257.5 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.01453, allocations: 88.56 kB / 257.6 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.01513, allocations: 343.6 kB / 257.9 MB, free: 180 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.01524, allocations: 88.95 kB / 258 MB, free: 76 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.01531, allocations: 40.38 kB / 258 MB, free: 36 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008566/0.01617, allocations: 454 kB / 258.5 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.01618, allocations: 0 / 258.5 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/0.01623, allocations: 19.98 kB / 258.5 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.01625, allocations: 12.5 kB / 258.5 MB, free: 15.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.01684, allocations: 299.4 kB / 258.8 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.01909, allocations: 1.508 MB / 260.3 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007155/0.0198, allocations: 309.5 kB / 260.6 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.02008, allocations: 144.2 kB / 260.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.849e-05/0.02014, allocations: 11.98 kB / 260.8 MB, free: 13.15 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009325/0.02107, allocations: 357.4 kB / 261.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 2.094e-06/0.02108, allocations: 0 / 261.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.001228/0.02231, allocations: 0.5609 MB / 261.7 MB, free: 12.17 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.02242, allocations: 140.5 kB / 261.8 MB, free: 12 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000627/0.02305, allocations: 497.3 kB / 262.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.0231, allocations: 41.7 kB / 262.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.02333, allocations: 232.9 kB / 262.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.02343, allocations: 91.36 kB / 262.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.02362, allocations: 118.2 kB / 262.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.02386, allocations: 358.7 kB / 263.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.02415, allocations: 146.6 kB / 263.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.02459, allocations: 320.5 kB / 263.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.02526, allocations: 434.8 kB / 264 MB, free: 9.625 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.02526, allocations: 0 / 264 MB, free: 9.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009418/0.0262, allocations: 0.5235 MB / 264.5 MB, free: 9.082 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.02625, allocations: 34.17 kB / 264.6 MB, free: 9.043 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.02626, allocations: 8 kB / 264.6 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.02629, allocations: 8 kB / 264.6 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.02645, allocations: 39.91 kB / 264.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.02647, allocations: 11.94 kB / 264.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.02672, allocations: 51.72 kB / 264.7 MB, free: 8.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.02677, allocations: 23.98 kB / 264.7 MB, free: 8.902 MB / 250.7 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.0003115/0.02708, allocations: 252.6 kB / 264.9 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.02719, allocations: 67.64 kB / 265 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000906/0.0281, allocations: 452.7 kB / 265.4 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.0281, allocations: 4 kB / 265.5 MB, free: 8.109 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.02811, allocations: 4 kB / 265.5 MB, free: 8.105 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.02812, allocations: 0 / 265.5 MB, free: 8.105 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.02931, allocations: 0.6543 MB / 266.1 MB, free: 7.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02932, allocations: 0 / 266.1 MB, free: 7.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.02939, allocations: 23.92 kB / 266.1 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.0294, allocations: 4 kB / 266.1 MB, free: 7.383 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.02943, allocations: 11.98 kB / 266.1 MB, free: 7.371 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.02943, allocations: 4 kB / 266.2 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02944, allocations: 0 / 266.2 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/0.03036, allocations: 0.5698 MB / 266.7 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.03043, allocations: 39.66 kB / 266.8 MB, free: 6.727 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.0305, allocations: 16 kB / 266.8 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.03072, allocations: 23.97 kB / 266.8 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.03085, allocations: 43.94 kB / 266.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.03089, allocations: 19.98 kB / 266.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000401/0.03129, allocations: 315.1 kB / 267.2 MB, free: 6.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03129, allocations: 0 / 267.2 MB, free: 6.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005005/0.03179, allocations: 127.6 kB / 267.3 MB, free: 6.195 MB / 250.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: 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,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,rSFlipFlop.pre.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * 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.002117/0.03391, allocations: 494.6 kB / 267.8 MB, free: 5.77 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.03504, allocations: 438.5 kB / 268.2 MB, free: 5.316 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.03504, allocations: 0 / 268.2 MB, free: 5.316 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.03546, allocations: 240.9 kB / 268.4 MB, free: 5.062 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.03608, allocations: 112.1 kB / 268.6 MB, free: 4.953 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.03774, allocations: 0.8382 MB / 269.4 MB, free: 4.07 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.03804, allocations: 236.8 kB / 269.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002199/0.03826, allocations: 75.27 kB / 269.7 MB, free: 3.742 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.03838, allocations: 44.48 kB / 269.7 MB, free: 3.699 MB / 250.7 MB Notification: Performance of SimCode: time 7.51e-07/0.03838, allocations: 0 / 269.7 MB, free: 3.699 MB / 250.7 MB Notification: Performance of Templates: time 0.01322/0.0516, allocations: 5.693 MB / 275.4 MB, free: 14 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BooleanNetwork1/BooleanNetwork1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.803720861906186]