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.001725/0.001725, allocations: 85.08 kB / 21.44 MB, free: 296 kB / 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.001502/0.001502, allocations: 162 kB / 24.7 MB, free: 3.551 MB / 14.72 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.47/1.47, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.1 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 9.52e-07/9.52e-07, allocations: 0 / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.738e-05, allocations: 2.281 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004578/0.004606, allocations: 2.363 MB / 301.3 MB, free: 6.355 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.007554, allocations: 1.224 MB / 302.5 MB, free: 5.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003911/0.007945, allocations: 11.94 kB / 302.5 MB, free: 5.109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007717/0.008717, allocations: 250.8 kB / 302.8 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005235/0.00924, allocations: 159.1 kB / 302.9 MB, free: 4.707 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.0101, allocations: 287.2 kB / 303.2 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005943/0.01069, allocations: 483.5 kB / 303.7 MB, free: 3.953 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.01102, allocations: 130.4 kB / 303.8 MB, free: 3.824 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003994/0.01142, allocations: 271.3 kB / 304.1 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.01171, allocations: 179.5 kB / 304.3 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.172e-05/0.01178, allocations: 32 kB / 304.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.0121, allocations: 135.7 kB / 304.4 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.01229, allocations: 131.6 kB / 304.6 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.01249, allocations: 139.6 kB / 304.7 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008454/0.01334, allocations: 0.576 MB / 305.3 MB, free: 2.375 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.01334, allocations: 0 / 305.3 MB, free: 2.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01334, allocations: 3.938 kB / 305.3 MB, free: 2.371 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.01335, allocations: 0 / 305.3 MB, free: 2.371 MB / 286.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.001566/0.01492, allocations: 0.7872 MB / 306.1 MB, free: 1.539 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.01496, allocations: 11.98 kB / 306.1 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.01509, allocations: 60.61 kB / 306.1 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.01567, allocations: 331.7 kB / 306.5 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.01578, allocations: 84.95 kB / 306.5 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.01584, allocations: 40.38 kB / 306.6 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007445/0.01658, allocations: 461.9 kB / 307 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.01659, allocations: 0 / 307 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.01664, allocations: 12 kB / 307 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.01667, allocations: 12.5 kB / 307.1 MB, free: 480 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/0.0172, allocations: 303.4 kB / 307.4 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.01916, allocations: 1.5 MB / 308.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006619/0.01983, allocations: 309.6 kB / 309.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.02009, allocations: 144.2 kB / 309.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.507e-05/0.02015, allocations: 11.98 kB / 309.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006219/0.02077, allocations: 361.1 kB / 309.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.02077, allocations: 4 kB / 309.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001112/0.02188, allocations: 0.5379 MB / 310.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.02199, allocations: 148.5 kB / 310.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000593/0.02259, allocations: 497.3 kB / 310.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.02263, allocations: 37.7 kB / 310.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.02284, allocations: 228.9 kB / 311.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.65e-05/0.02294, allocations: 91.36 kB / 311.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.02312, allocations: 122 kB / 311.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.02331, allocations: 358.8 kB / 311.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.02359, allocations: 146.6 kB / 311.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.02398, allocations: 316.6 kB / 312.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006536/0.02464, allocations: 430.5 kB / 312.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02464, allocations: 0 / 312.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009063/0.02555, allocations: 0.5083 MB / 313 MB, free: 10.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/0.0256, allocations: 41.69 kB / 313.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.02561, allocations: 4 kB / 313.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.02564, allocations: 4 kB / 313.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.02579, allocations: 39.91 kB / 313.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.02581, allocations: 11.94 kB / 313.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.02605, allocations: 55.66 kB / 313.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.0261, allocations: 20 kB / 313.2 MB, free: 9.895 MB / 302.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.0003095/0.02641, allocations: 252.9 kB / 313.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/0.02648, allocations: 47.66 kB / 313.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008702/0.02735, allocations: 452.7 kB / 313.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.02736, allocations: 4 kB / 313.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.02737, allocations: 4 kB / 313.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.02738, allocations: 7.969 kB / 314 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.02846, allocations: 0.658 MB / 314.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.02847, allocations: 0 / 314.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.02855, allocations: 23.92 kB / 314.6 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.02856, allocations: 4 kB / 314.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.02859, allocations: 8 kB / 314.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.02859, allocations: 7.984 kB / 314.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02859, allocations: 0 / 314.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/0.02941, allocations: 0.5427 MB / 315.2 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.02948, allocations: 51.62 kB / 315.3 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.02955, allocations: 8 kB / 315.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.02977, allocations: 35.91 kB / 315.3 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.02989, allocations: 39.94 kB / 315.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.02993, allocations: 16 kB / 315.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.03032, allocations: 327.1 kB / 315.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03032, allocations: 0 / 315.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005312/0.03085, allocations: 123.7 kB / 315.8 MB, free: 7.199 MB / 302.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,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.001786/0.03263, allocations: 487.7 kB / 316.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007869/0.03342, allocations: 430.3 kB / 316.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.03342, allocations: 0 / 316.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.03379, allocations: 245.6 kB / 316.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.03436, allocations: 98.34 kB / 317 MB, free: 5.922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.0359, allocations: 0.8201 MB / 317.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.03615, allocations: 237 kB / 318.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.03634, allocations: 83.39 kB / 318.2 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.03646, allocations: 44.48 kB / 318.2 MB, free: 4.68 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.03646, allocations: 3.938 kB / 318.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of Templates: time 0.1741/0.2105, allocations: 5.614 MB / 323.8 MB, free: 33.84 MB / 302.1 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.651645045727491]