Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001561/0.001561, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001762/0.001762, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Blocks.Examples.BooleanNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 47.92 kB / 379 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.318, allocations: 53.36 MB / 432.4 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004485/0.3225, allocations: 2.518 MB / 434.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.3254, allocations: 1.5 MB / 436.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.3256, allocations: 15.88 kB / 436.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008634/0.3265, allocations: 249.9 kB / 436.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005204/0.327, allocations: 211 kB / 436.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007728/0.3278, allocations: 271.2 kB / 437.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006374/0.3284, allocations: 479.7 kB / 437.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.3287, allocations: 146.3 kB / 437.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.329, allocations: 207.1 kB / 438 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.3293, allocations: 223 kB / 438.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.3294, allocations: 36 kB / 438.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.3297, allocations: 135.8 kB / 438.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.3298, allocations: 127.5 kB / 438.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.3301, allocations: 222.7 kB / 438.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008378/0.3309, allocations: 0.5729 MB / 439.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3309, allocations: 4 kB / 439.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3309, allocations: 0 / 439.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.3309, allocations: 0 / 439.3 MB, free: 15.99 MB / 350.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.001531/0.3325, allocations: 0.8026 MB / 440.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3325, allocations: 8.031 kB / 440.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.3328, allocations: 72.55 kB / 440.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/0.3334, allocations: 329.5 kB / 440.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.951e-05/0.3335, allocations: 84.97 kB / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.3336, allocations: 43.88 kB / 440.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/0.3343, allocations: 428.7 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.3343, allocations: 0 / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.3343, allocations: 23.92 kB / 441 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.3344, allocations: 16.44 kB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005194/0.3349, allocations: 265.5 kB / 441.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.337, allocations: 1.632 MB / 442.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/0.3376, allocations: 275.9 kB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.3379, allocations: 114.5 kB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.3379, allocations: 8 kB / 443.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005272/0.3384, allocations: 330.1 kB / 443.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.094e-06/0.3384, allocations: 0 / 443.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009923/0.3394, allocations: 473 kB / 444.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.3396, allocations: 158.2 kB / 444.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/0.3403, allocations: 0.4936 MB / 444.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.3404, allocations: 37.7 kB / 444.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.3406, allocations: 244.9 kB / 445 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.461e-05/0.3407, allocations: 87.36 kB / 445.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.3409, allocations: 118.1 kB / 445.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.3411, allocations: 362.7 kB / 445.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.3414, allocations: 116.9 kB / 445.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.3417, allocations: 262.1 kB / 446 MB, free: 8.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.3423, allocations: 406.5 kB / 446.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3423, allocations: 7.938 kB / 446.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007695/0.3431, allocations: 462.5 kB / 446.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.3431, allocations: 37.69 kB / 446.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3431, allocations: 4 kB / 446.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.3431, allocations: 8.469 kB / 446.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.3433, allocations: 47.86 kB / 446.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.3433, allocations: 7.984 kB / 446.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.3435, allocations: 55.66 kB / 447 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.3436, allocations: 23.94 kB / 447 MB, free: 7.746 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.0003035/0.3439, allocations: 256.9 kB / 447.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.653e-05/0.344, allocations: 51.67 kB / 447.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007214/0.3447, allocations: 380.1 kB / 447.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.3447, allocations: 4 kB / 447.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3447, allocations: 0 / 447.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3447, allocations: 3.984 kB / 447.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.3458, allocations: 0.7105 MB / 448.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3458, allocations: 4 kB / 448.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.3459, allocations: 19.92 kB / 448.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3459, allocations: 4 kB / 448.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.3459, allocations: 11.98 kB / 448.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.3459, allocations: 4 kB / 448.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3459, allocations: 0 / 448.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007538/0.3466, allocations: 0.4928 MB / 448.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.3467, allocations: 51.58 kB / 449 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.3468, allocations: 12 kB / 449 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.347, allocations: 23.97 kB / 449 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.3471, allocations: 47.86 kB / 449.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.3471, allocations: 16 kB / 449.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003815/0.3475, allocations: 327.1 kB / 449.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3475, allocations: 4 kB / 449.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004679/0.348, allocations: 119.8 kB / 449.5 MB, free: 5.129 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: 35 (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,changing.y,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulseStart,booleanPulse2.pulseStart,or1.u[1],xor1.u[1],nand1.u[1],or2.u[1],nor1.y,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 (34): * Single equations (assignments): 28 * 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.001628/0.3496, allocations: 452.9 kB / 450 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007572/0.3504, allocations: 368.5 kB / 450.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3504, allocations: 0 / 450.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.3507, allocations: 203.4 kB / 450.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.3513, allocations: 97.7 kB / 450.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.3528, allocations: 0.8297 MB / 451.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.3533, allocations: 0.8317 MB / 452.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3534, allocations: 43.42 kB / 452.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3534, allocations: 4 kB / 452.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of Templates: time 0.01053/0.364, allocations: 6.178 MB / 458.5 MB, free: 12.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BooleanNetwork1/BooleanNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.25008039898239]