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.000941/0.000941, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001082/0.001082, allocations: 162.7 kB / 25.7 MB, free: 8.406 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 0.9078/0.9078, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|booleanTable.y|changing.u|nand1.u.[0-9,]+.|onDelay.u|or1.u.[0-9,]+.|or2.u.[0-9,]+.|rSFlipFlop.pre.u|rising.u|set1.y|triggeredAdd.y|xor1.u.[0-9,]+.",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.[0-9,]+.|booleanTable.y|changing.u|nand1.u.[0-9,]+.|onDelay.u|or1.u.[0-9,]+.|or2.u.[0-9,]+.|rSFlipFlop.pre.u|rising.u|set1.y|triggeredAdd.y|xor1.u.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.66e-05, allocations: 6.312 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004706/0.004733, allocations: 2.508 MB / 254.1 MB, free: 4.711 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.006777, allocations: 1.263 MB / 255.3 MB, free: 3.434 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.006989, allocations: 15.88 kB / 255.3 MB, free: 3.418 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006515/0.007641, allocations: 242.8 kB / 255.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.007956, allocations: 167 kB / 255.7 MB, free: 3.016 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.008473, allocations: 275.2 kB / 256 MB, free: 2.746 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.008944, allocations: 471.6 kB / 256.5 MB, free: 2.281 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.009173, allocations: 160.1 kB / 256.6 MB, free: 2.121 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.009463, allocations: 267.4 kB / 256.9 MB, free: 1.859 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.009664, allocations: 179.4 kB / 257.1 MB, free: 1.684 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.009706, allocations: 32 kB / 257.1 MB, free: 1.652 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.01015, allocations: 139.7 kB / 257.2 MB, free: 1.516 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.01026, allocations: 135.5 kB / 257.4 MB, free: 1.383 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.01037, allocations: 131.6 kB / 257.5 MB, free: 1.254 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.01086, allocations: 450.1 kB / 257.9 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01086, allocations: 0 / 257.9 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01087, allocations: 0 / 257.9 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.01087, allocations: 0 / 257.9 MB, free: 0.8125 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.0008594/0.01173, allocations: 0.7429 MB / 258.7 MB, free: 32 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.01177, allocations: 15.98 kB / 258.7 MB, free: 16 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.01191, allocations: 68.95 kB / 258.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.0123, allocations: 300.4 kB / 259.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/0.01237, allocations: 80.97 kB / 259.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.0124, allocations: 44.36 kB / 259.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.01275, allocations: 368.7 kB / 259.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.01276, allocations: 0 / 259.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.01278, allocations: 16 kB / 259.6 MB, free: 15.08 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.01281, allocations: 16.48 kB / 259.6 MB, free: 15.06 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.01297, allocations: 154.6 kB / 259.7 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.01405, allocations: 1.298 MB / 261 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.01435, allocations: 305.6 kB / 261.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/0.01442, allocations: 92.25 kB / 261.4 MB, free: 13.11 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.01447, allocations: 12 kB / 261.4 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.01471, allocations: 308.4 kB / 261.7 MB, free: 12.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 2.083e-06/0.01471, allocations: 0 / 261.7 MB, free: 12.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.0003474/0.01506, allocations: 336.6 kB / 262 MB, free: 12.39 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.01512, allocations: 144.4 kB / 262.2 MB, free: 12.22 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.01539, allocations: 396.7 kB / 262.6 MB, free: 11.82 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.01542, allocations: 41.7 kB / 262.6 MB, free: 11.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.01551, allocations: 197.8 kB / 262.8 MB, free: 11.58 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.01557, allocations: 83.34 kB / 262.9 MB, free: 11.5 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.01569, allocations: 126 kB / 263 MB, free: 11.37 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.01578, allocations: 358.7 kB / 263.4 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.01586, allocations: 77.5 kB / 263.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.01599, allocations: 244.6 kB / 263.7 MB, free: 10.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.01625, allocations: 339.2 kB / 264 MB, free: 10.21 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.01625, allocations: 0 / 264 MB, free: 10.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000544/0.0168, allocations: 330.3 kB / 264.3 MB, free: 9.871 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.01683, allocations: 33.7 kB / 264.4 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.01684, allocations: 7.938 kB / 264.4 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.01686, allocations: 8 kB / 264.4 MB, free: 9.816 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01696, allocations: 55.84 kB / 264.4 MB, free: 9.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.01697, allocations: 7.938 kB / 264.4 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.01709, allocations: 51.72 kB / 264.5 MB, free: 9.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.01712, allocations: 19.98 kB / 264.5 MB, free: 9.684 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,showValue.active,showValue2.active,showValue3.active,showValue4.active,showValue1.number,showValue5.active,showValue6.active,set1.expr[1],set1.expr[2],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,triggeredAdd.local_reset,triggeredAdd.local_set) * 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.0001522/0.01728, allocations: 207.7 kB / 264.7 MB, free: 9.465 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.01732, allocations: 39.97 kB / 264.8 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.01768, allocations: 272.9 kB / 265 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.01769, allocations: 8 kB / 265 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.01769, allocations: 3.938 kB / 265 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01769, allocations: 0 / 265 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.01823, allocations: 0.5218 MB / 265.6 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01823, allocations: 0 / 265.6 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.01828, allocations: 27.92 kB / 265.6 MB, free: 8.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.01828, allocations: 0 / 265.6 MB, free: 8.539 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.0183, allocations: 15.92 kB / 265.6 MB, free: 8.523 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.01831, allocations: 4 kB / 265.6 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01831, allocations: 3.938 kB / 265.6 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.01859, allocations: 422.1 kB / 266 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.01863, allocations: 47.59 kB / 266.1 MB, free: 8.023 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.01867, allocations: 19.92 kB / 266.1 MB, free: 8.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.01876, allocations: 23.98 kB / 266.1 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.01884, allocations: 39.92 kB / 266.1 MB, free: 7.941 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.01887, allocations: 15.98 kB / 266.2 MB, free: 7.926 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.01899, allocations: 147.5 kB / 266.3 MB, free: 7.781 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.01899, allocations: 3.938 kB / 266.3 MB, free: 7.777 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000407/0.0194, allocations: 115.8 kB / 266.4 MB, free: 7.664 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.001193/0.02059, allocations: 0.5626 MB / 267 MB, free: 7.156 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.02092, allocations: 316.3 kB / 267.3 MB, free: 6.82 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.02093, allocations: 4 kB / 267.3 MB, free: 6.816 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.02109, allocations: 206.4 kB / 267.5 MB, free: 6.594 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.0214, allocations: 106.6 kB / 267.6 MB, free: 6.488 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008508/0.02225, allocations: 0.7372 MB / 268.3 MB, free: 5.707 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.105e-05/0.02232, allocations: 118.3 kB / 268.5 MB, free: 5.574 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.02244, allocations: 63.27 kB / 268.5 MB, free: 5.512 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.02263, allocations: 147.2 kB / 268.7 MB, free: 5.367 MB / 250.7 MB Notification: Performance of SimCode: time 1.493e-06/0.02263, allocations: 4 kB / 268.7 MB, free: 5.363 MB / 250.7 MB Notification: Performance of Templates: time 0.008785/0.03141, allocations: 6.047 MB / 274.7 MB, free: 15.3 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 240] 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","",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.8281266232952476]