Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001612/0.002764, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007314/0.0007314, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008776/0.001609, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9445/0.9445, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1249/1.069, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.BooleanNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.694e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.002948/0.002965, allocations: 2.539 MB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.004988, allocations: 1.503 MB / 249.1 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.005187, allocations: 19.88 kB / 249.1 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.005695, allocations: 226.8 kB / 249.3 MB, free: 9.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.006103, allocations: 218.9 kB / 249.5 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.006634, allocations: 270.2 kB / 249.8 MB, free: 8.863 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.007094, allocations: 467.6 kB / 250.2 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.007313, allocations: 160.2 kB / 250.4 MB, free: 8.238 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.007652, allocations: 333.4 kB / 250.7 MB, free: 7.914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.007831, allocations: 171.5 kB / 250.9 MB, free: 7.746 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.00787, allocations: 36 kB / 250.9 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.008082, allocations: 127.8 kB / 251 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/0.00818, allocations: 107.6 kB / 251.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.008282, allocations: 103.7 kB / 251.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.008688, allocations: 410.2 kB / 251.7 MB, free: 6.977 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.008701, allocations: 0 / 251.7 MB, free: 6.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.008702, allocations: 0 / 251.7 MB, free: 6.977 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.00872, allocations: 0 / 251.7 MB, free: 6.977 MB / 250.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.0009249/0.009645, allocations: 0.8479 MB / 252.5 MB, free: 6.094 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.009676, allocations: 8.625 kB / 252.5 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.009894, allocations: 154 kB / 252.7 MB, free: 5.918 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.01024, allocations: 312.4 kB / 253 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.0103, allocations: 84.97 kB / 253.1 MB, free: 5.488 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.01033, allocations: 40.38 kB / 253.1 MB, free: 5.449 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.01066, allocations: 365 kB / 253.4 MB, free: 5.051 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.01067, allocations: 4.188 kB / 253.5 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.01069, allocations: 20.12 kB / 253.5 MB, free: 5.027 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.01071, allocations: 12.5 kB / 253.5 MB, free: 5.016 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.01086, allocations: 154.6 kB / 253.6 MB, free: 4.855 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.01193, allocations: 1.298 MB / 254.9 MB, free: 3.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.01222, allocations: 305.7 kB / 255.2 MB, free: 3.168 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.0123, allocations: 92.25 kB / 255.3 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.01234, allocations: 8 kB / 255.3 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.01258, allocations: 317.8 kB / 255.6 MB, free: 2.699 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.733e-06/0.01258, allocations: 0 / 255.6 MB, free: 2.699 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.0003403/0.01293, allocations: 335.4 kB / 256 MB, free: 2.348 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.01298, allocations: 140.5 kB / 256.1 MB, free: 2.18 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.01325, allocations: 408.7 kB / 256.5 MB, free: 1.762 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.01328, allocations: 37.7 kB / 256.5 MB, free: 1.719 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.01337, allocations: 193.8 kB / 256.7 MB, free: 1.527 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.01343, allocations: 87.34 kB / 256.8 MB, free: 1.441 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.01353, allocations: 122 kB / 256.9 MB, free: 1.316 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.01363, allocations: 370.6 kB / 257.3 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.0137, allocations: 77.5 kB / 257.4 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.01383, allocations: 240.6 kB / 257.6 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.01407, allocations: 335.9 kB / 257.9 MB, free: 160 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.01408, allocations: 4 kB / 257.9 MB, free: 156 kB / 250.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003175/0.01439, allocations: 334.1 kB / 258.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.01443, allocations: 37.69 kB / 258.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.01444, allocations: 8 kB / 258.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.01445, allocations: 4 kB / 258.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.01455, allocations: 55.84 kB / 258.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.01456, allocations: 8 kB / 258.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.01468, allocations: 60 kB / 258.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.0147, allocations: 20 kB / 258.5 MB, free: 15.61 MB / 266.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.0001408/0.01484, allocations: 195.5 kB / 258.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.01488, allocations: 44.27 kB / 258.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.01515, allocations: 268.5 kB / 258.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01515, allocations: 4 kB / 259 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01516, allocations: 4 kB / 259 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01516, allocations: 4 kB / 259 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.01559, allocations: 462.8 kB / 259.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.0156, allocations: 0 / 259.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.01564, allocations: 23.92 kB / 259.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.01567, allocations: 43.59 kB / 259.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01567, allocations: 7.875 kB / 259.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.01569, allocations: 8 kB / 259.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.01569, allocations: 7.984 kB / 259.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01569, allocations: 0 / 259.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.01595, allocations: 426.4 kB / 259.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.01599, allocations: 15.98 kB / 259.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.01608, allocations: 23.92 kB / 260 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.01617, allocations: 46.77 kB / 260 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.01618, allocations: 8 kB / 260 MB, free: 13.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.01628, allocations: 148.7 kB / 260.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01628, allocations: 0 / 260.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000281/0.01657, allocations: 115.8 kB / 260.3 MB, free: 13.69 MB / 266.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: 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 (35): * Single equations (assignments): 29 * 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.00127/0.01784, allocations: 0.5699 MB / 260.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004024/0.01824, allocations: 325 kB / 261.2 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/0.01825, allocations: 4.938 kB / 261.2 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.01842, allocations: 202.6 kB / 261.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.01871, allocations: 132.9 kB / 261.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009154/0.01963, allocations: 0.7457 MB / 262.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.84e-05/0.0197, allocations: 118.3 kB / 262.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.01982, allocations: 59.27 kB / 262.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.01998, allocations: 131.3 kB / 262.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of SimCode: time 1.352e-06/0.01998, allocations: 0 / 262.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of Templates: time 0.008561/0.02854, allocations: 5.899 MB / 268.4 MB, free: 5.703 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.688066393136978]