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.001905/0.001905, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002012/0.002012, allocations: 164.6 kB / 25.03 MB, free: 8.398 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.355/1.355, 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.443e-06/1.443e-06, allocations: 0 / 250.4 MB, free: 7.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.119e-05, allocations: 6.109 kB / 250.4 MB, free: 7.711 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004904/0.004935, allocations: 2.438 MB / 252.8 MB, free: 5.254 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.007663, allocations: 1.236 MB / 254 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.007866, allocations: 11.94 kB / 254.1 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008602/0.008726, allocations: 246.8 kB / 254.3 MB, free: 3.754 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004569/0.009183, allocations: 167.1 kB / 254.5 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007033/0.009886, allocations: 283.2 kB / 254.7 MB, free: 3.312 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006097/0.0105, allocations: 479.5 kB / 255.2 MB, free: 2.84 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.0108, allocations: 138.3 kB / 255.3 MB, free: 2.703 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003943/0.01119, allocations: 271.3 kB / 255.6 MB, free: 2.438 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005063/0.0117, allocations: 167.5 kB / 255.8 MB, free: 2.273 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.482e-05/0.01177, allocations: 36 kB / 255.8 MB, free: 2.238 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.01208, allocations: 135.8 kB / 255.9 MB, free: 2.105 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.01225, allocations: 127.5 kB / 256.1 MB, free: 1.98 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.01244, allocations: 139.6 kB / 256.2 MB, free: 1.844 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000848/0.01329, allocations: 0.5838 MB / 256.8 MB, free: 1.258 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.01329, allocations: 0 / 256.8 MB, free: 1.258 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01329, allocations: 0 / 256.8 MB, free: 1.258 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.0133, allocations: 0 / 256.8 MB, free: 1.258 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.001503/0.0148, allocations: 0.8986 MB / 257.7 MB, free: 316 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.01484, allocations: 11.98 kB / 257.7 MB, free: 304 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.01502, allocations: 92.56 kB / 257.8 MB, free: 212 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006169/0.01564, allocations: 334.5 kB / 258.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.01576, allocations: 84.95 kB / 258.2 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.01582, allocations: 40.38 kB / 258.2 MB, free: 15.72 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/0.0166, allocations: 466.2 kB / 258.7 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.01661, allocations: 0 / 258.7 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.01665, allocations: 20 kB / 258.7 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.01668, allocations: 12.5 kB / 258.7 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.01718, allocations: 243.5 kB / 259 MB, free: 14.94 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.01962, allocations: 2.024 MB / 261 MB, free: 12.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.02028, allocations: 303 kB / 261.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.02055, allocations: 144.7 kB / 261.4 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.461e-05/0.02061, allocations: 15.98 kB / 261.4 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005789/0.02119, allocations: 375.8 kB / 261.8 MB, free: 11.9 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.864e-06/0.02119, allocations: 0 / 261.8 MB, free: 11.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.001104/0.0223, allocations: 0.5138 MB / 262.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.0224, allocations: 132.5 kB / 262.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009253/0.02333, allocations: 0.557 MB / 263 MB, free: 10.63 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.02338, allocations: 41.7 kB / 263 MB, free: 10.58 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.02366, allocations: 303.6 kB / 263.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.02376, allocations: 95.38 kB / 263.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.02399, allocations: 159.8 kB / 263.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003329/0.02432, allocations: 0.5547 MB / 264.1 MB, free: 9.453 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.02459, allocations: 126.9 kB / 264.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/0.02506, allocations: 362.3 kB / 264.6 MB, free: 8.875 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006956/0.02576, allocations: 457.8 kB / 265.1 MB, free: 8.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.02576, allocations: 0 / 265.1 MB, free: 8.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008942/0.02666, allocations: 496.2 kB / 265.5 MB, free: 7.836 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.02671, allocations: 37.69 kB / 265.6 MB, free: 7.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.02672, allocations: 4 kB / 265.6 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.02674, allocations: 8 kB / 265.6 MB, free: 7.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.0269, allocations: 48.31 kB / 265.6 MB, free: 7.734 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.02692, allocations: 12 kB / 265.7 MB, free: 7.723 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.02714, allocations: 51.72 kB / 265.7 MB, free: 7.672 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.02719, allocations: 20 kB / 265.7 MB, free: 7.652 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.0003138/0.0275, allocations: 267.3 kB / 266 MB, free: 7.375 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.02761, allocations: 63.66 kB / 266 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008669/0.02847, allocations: 428.7 kB / 266.5 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.02848, allocations: 4 kB / 266.5 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.02849, allocations: 0 / 266.5 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.0285, allocations: 7.984 kB / 266.5 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.02975, allocations: 0.7317 MB / 267.2 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.02976, allocations: 4 kB / 267.2 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.94e-05/0.02983, allocations: 15.98 kB / 267.2 MB, free: 6.066 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.02983, allocations: 4 kB / 267.2 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.02986, allocations: 8 kB / 267.2 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.02987, allocations: 7.938 kB / 267.2 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.02987, allocations: 4 kB / 267.3 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009329/0.0308, allocations: 0.6031 MB / 267.9 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/0.03089, allocations: 47.66 kB / 267.9 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/0.03095, allocations: 11.98 kB / 267.9 MB, free: 5.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.03113, allocations: 19.98 kB / 267.9 MB, free: 5.324 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.03126, allocations: 43.94 kB / 268 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.0313, allocations: 15.98 kB / 268 MB, free: 5.266 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004809/0.03178, allocations: 327 kB / 268.3 MB, free: 4.945 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03178, allocations: 0 / 268.3 MB, free: 4.945 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000525/0.03231, allocations: 127.6 kB / 268.4 MB, free: 4.82 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.002989/0.0353, allocations: 491.5 kB / 268.9 MB, free: 4.387 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009105/0.03621, allocations: 440.1 kB / 269.3 MB, free: 3.93 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.03621, allocations: 8 kB / 269.4 MB, free: 3.922 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00042/0.03663, allocations: 268.4 kB / 269.6 MB, free: 3.637 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008427/0.03747, allocations: 103.2 kB / 269.7 MB, free: 3.539 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.03895, allocations: 0.7712 MB / 270.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.03922, allocations: 232.8 kB / 270.7 MB, free: 2.473 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.03942, allocations: 63.27 kB / 270.8 MB, free: 2.41 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.03954, allocations: 48.48 kB / 270.8 MB, free: 2.363 MB / 250.7 MB Notification: Performance of SimCode: time 1.042e-06/0.03955, allocations: 0 / 270.8 MB, free: 2.363 MB / 250.7 MB Notification: Performance of Templates: time 0.0142/0.05374, allocations: 5.666 MB / 276.5 MB, free: 12.69 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 -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","/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.7085943419951946]