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.001818/0.001818, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002111/0.002111, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.002159/0.002159, allocations: 59.91 kB / 373.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1411, allocations: 53.32 MB / 427.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.005532/0.1466, allocations: 2.49 MB / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003458/0.1501, allocations: 1.484 MB / 431.1 MB, free: 484 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/0.1505, allocations: 11.94 kB / 431.1 MB, free: 472 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.1516, allocations: 242.8 kB / 431.4 MB, free: 228 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008149/0.1524, allocations: 199 kB / 431.6 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2309/0.3833, allocations: 266.5 kB / 431.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007717/0.384, allocations: 473 kB / 432.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.3844, allocations: 153.6 kB / 432.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.3846, allocations: 197 kB / 432.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.3849, allocations: 229.6 kB / 432.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.79e-05/0.3849, allocations: 35.47 kB / 432.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.3852, allocations: 116.9 kB / 433 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3853, allocations: 132.3 kB / 433.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.3855, allocations: 216.5 kB / 433.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007048/0.3862, allocations: 0.5701 MB / 433.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3862, allocations: 2.719 kB / 433.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3862, allocations: 0 / 433.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.3862, allocations: 3.938 kB / 433.9 MB, free: 7.871 MB / 350.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.001433/0.3877, allocations: 0.8668 MB / 434.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3877, allocations: 9.703 kB / 434.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.388, allocations: 66.98 kB / 434.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.3885, allocations: 400.9 kB / 435.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.146e-05/0.3885, allocations: 63.55 kB / 435.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.3886, allocations: 46.12 kB / 435.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.3892, allocations: 426.2 kB / 435.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3892, allocations: 1.062 kB / 435.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.3892, allocations: 17.59 kB / 435.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.3893, allocations: 16.94 kB / 435.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.3898, allocations: 264.7 kB / 436.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.3916, allocations: 1.672 MB / 437.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/0.3921, allocations: 273.7 kB / 438 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.3923, allocations: 111.9 kB / 438.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-05/0.3924, allocations: 12.42 kB / 438.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004599/0.3929, allocations: 322.7 kB / 438.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.3929, allocations: 0 / 438.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009924/0.3939, allocations: 476.4 kB / 438.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.3939, allocations: 167.1 kB / 439.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005925/0.3945, allocations: 0.4924 MB / 439.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.3946, allocations: 39.84 kB / 439.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.3947, allocations: 242.9 kB / 439.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.528e-05/0.3948, allocations: 85.94 kB / 439.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.3949, allocations: 118.6 kB / 440.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.395, allocations: 361 kB / 440.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.3953, allocations: 116.1 kB / 440.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.3956, allocations: 268 kB / 440.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.396, allocations: 396.1 kB / 441.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.396, allocations: 5.406 kB / 441.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007373/0.3968, allocations: 468.4 kB / 441.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.3968, allocations: 39.77 kB / 441.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3968, allocations: 5.812 kB / 441.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.3968, allocations: 10.03 kB / 441.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.397, allocations: 43.47 kB / 441.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.397, allocations: 9.922 kB / 441.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.3973, allocations: 55.7 kB / 441.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.3973, allocations: 21.38 kB / 441.8 MB, free: 3.504 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.000238/0.3975, allocations: 254.4 kB / 442.1 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/0.3976, allocations: 50.3 kB / 442.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004425/0.398, allocations: 235 kB / 442.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.398, allocations: 4.188 kB / 442.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.398, allocations: 5.812 kB / 442.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3981, allocations: 2.406 kB / 442.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.3992, allocations: 0.7439 MB / 443.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3992, allocations: 0.5312 kB / 443.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/0.3992, allocations: 15.75 kB / 443.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3993, allocations: 5.062 kB / 443.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.3993, allocations: 11.5 kB / 443.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3993, allocations: 1.031 kB / 443.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3993, allocations: 5.891 kB / 443.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.4, allocations: 0.4886 MB / 443.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.4, allocations: 118.5 kB / 443.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.4001, allocations: 16.22 kB / 443.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.4003, allocations: 27.25 kB / 443.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.4004, allocations: 43.97 kB / 443.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.4005, allocations: 16.19 kB / 443.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003575/0.4008, allocations: 326.9 kB / 444.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4008, allocations: 0.9688 kB / 444.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000507/0.4013, allocations: 119.4 kB / 444.3 MB, free: 2.086 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,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,booleanTable.combiTimeTable.nextTimeEvent,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.001646/0.403, allocations: 450.8 kB / 444.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007307/0.4037, allocations: 363.5 kB / 445.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4037, allocations: 0.9375 kB / 445.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.404, allocations: 200.1 kB / 445.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.4046, allocations: 90.97 kB / 445.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.4061, allocations: 0.8034 MB / 446.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.4064, allocations: 0.8433 MB / 447 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.4066, allocations: 76.16 kB / 447.1 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.4067, allocations: 42.67 kB / 447.1 MB, free: 460 kB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4067, allocations: 0 / 447.1 MB, free: 460 kB / 350.1 MB Notification: Performance of Templates: time 0.01273/0.4195, allocations: 5.302 MB / 452.4 MB, free: 15.74 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: 5.142862046137452]