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.001407/0.001407, allocations: 106.2 kB / 19.8 MB, free: 2.5 MB / 14.72 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.001465/0.001465, allocations: 215.5 kB / 22.99 MB, free: 5.574 MB / 14.72 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 1.538/1.538, allocations: 230.2 MB / 256.2 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Blocks.Examples.BooleanNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 63.89 kB / 376.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2825, allocations: 53.31 MB / 429.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004375/0.2869, allocations: 2.525 MB / 432.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.2897, allocations: 1.496 MB / 433.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.2899, allocations: 11.94 kB / 433.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008109/0.2907, allocations: 246.3 kB / 434.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005081/0.2912, allocations: 207 kB / 434.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007358/0.2919, allocations: 275.2 kB / 434.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.2926, allocations: 475.7 kB / 435 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.2929, allocations: 149.9 kB / 435.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.2932, allocations: 195.2 kB / 435.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.2935, allocations: 223 kB / 435.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.2935, allocations: 40 kB / 435.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.2938, allocations: 119.8 kB / 435.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.2939, allocations: 123.6 kB / 435.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.2942, allocations: 218.7 kB / 436 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007793/0.295, allocations: 0.5806 MB / 436.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.295, allocations: 0 / 436.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.295, allocations: 0 / 436.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.295, allocations: 0 / 436.6 MB, free: 0.6602 MB / 334.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.001597/0.2966, allocations: 0.8664 MB / 437.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2966, allocations: 8.031 kB / 437.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/0.2969, allocations: 68.55 kB / 437.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.2975, allocations: 399.4 kB / 438 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.2975, allocations: 55.27 kB / 438 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.154e-05/0.2976, allocations: 40.38 kB / 438 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.2983, allocations: 436.8 kB / 438.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2983, allocations: 11.94 kB / 438.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.2984, allocations: 15.98 kB / 438.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.2984, allocations: 12.44 kB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.2989, allocations: 261.5 kB / 438.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.3011, allocations: 1.674 MB / 440.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.3017, allocations: 268 kB / 440.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.3019, allocations: 114.5 kB / 440.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.893e-05/0.302, allocations: 7.984 kB / 440.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004994/0.3025, allocations: 323.9 kB / 441.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.813e-06/0.3025, allocations: 0 / 441.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009983/0.3035, allocations: 485.8 kB / 441.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.3036, allocations: 166.2 kB / 441.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.3042, allocations: 0.4896 MB / 442.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.3042, allocations: 41.7 kB / 442.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.3044, allocations: 244.9 kB / 442.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.405e-05/0.3045, allocations: 87.36 kB / 442.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.3047, allocations: 118.2 kB / 442.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3049, allocations: 358.8 kB / 443.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.3051, allocations: 113.1 kB / 443.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.3055, allocations: 266.7 kB / 443.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005834/0.3061, allocations: 410.7 kB / 443.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3061, allocations: 0 / 443.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008115/0.3069, allocations: 466.5 kB / 444.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.3069, allocations: 41.69 kB / 444.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.307, allocations: 4 kB / 444.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.307, allocations: 4.469 kB / 444.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3071, allocations: 47.86 kB / 444.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/0.3071, allocations: 11.94 kB / 444.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.3074, allocations: 47.75 kB / 444.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.3074, allocations: 20 kB / 444.5 MB, free: 8.25 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.0003281/0.3077, allocations: 260.5 kB / 444.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.3078, allocations: 47.67 kB / 444.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007587/0.3086, allocations: 374.8 kB / 445.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.3086, allocations: 4 kB / 445.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3086, allocations: 0 / 445.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3086, allocations: 0 / 445.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.3098, allocations: 0.7437 MB / 445.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3098, allocations: 8 kB / 445.9 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.079e-05/0.3098, allocations: 19.92 kB / 445.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3098, allocations: 0 / 445.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.3099, allocations: 20.05 kB / 446 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3099, allocations: 0 / 446 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3099, allocations: 0 / 446 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.3106, allocations: 0.4969 MB / 446.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.3107, allocations: 124.8 kB / 446.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.3108, allocations: 8 kB / 446.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.311, allocations: 23.97 kB / 446.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.3112, allocations: 43.95 kB / 446.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.3112, allocations: 12 kB / 446.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003768/0.3116, allocations: 331.1 kB / 447 MB, free: 5.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3116, allocations: 0 / 447 MB, free: 5.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004805/0.3121, allocations: 123.7 kB / 447.1 MB, free: 5.512 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.001553/0.3136, allocations: 452.4 kB / 447.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007062/0.3143, allocations: 369.3 kB / 447.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3143, allocations: 0 / 447.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.3146, allocations: 195.2 kB / 448.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.3152, allocations: 85.73 kB / 448.2 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.3167, allocations: 0.8119 MB / 449 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.3172, allocations: 0.8394 MB / 449.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.3174, allocations: 67.27 kB / 449.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.3176, allocations: 47.42 kB / 450 MB, free: 2.711 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3176, allocations: 0 / 450 MB, free: 2.711 MB / 350.1 MB Notification: Performance of Templates: time 0.01292/0.3305, allocations: 5.351 MB / 455.3 MB, free: 13.39 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.826246143318713]