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.001374/0.001374, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001913/0.001913, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.596/1.596, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.001745/0.001745, allocations: 59.91 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3903, allocations: 53.41 MB / 432.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004766/0.3951, allocations: 2.397 MB / 434.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.3984, allocations: 1.422 MB / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.3987, allocations: 15.88 kB / 436.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008794/0.3996, allocations: 246.9 kB / 436.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005694/0.4002, allocations: 207 kB / 436.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.4009, allocations: 278.4 kB / 436.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006139/0.4016, allocations: 483.6 kB / 437.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.4019, allocations: 142.1 kB / 437.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.4022, allocations: 199.2 kB / 437.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.4025, allocations: 203 kB / 437.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.507e-05/0.4025, allocations: 36 kB / 438 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.4028, allocations: 123.9 kB / 438.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.403, allocations: 127.5 kB / 438.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.4032, allocations: 175 kB / 438.4 MB, free: 488 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008366/0.404, allocations: 0.5666 MB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.404, allocations: 4 kB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.404, allocations: 0 / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.404, allocations: 0 / 439 MB, free: 15.91 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.001482/0.4055, allocations: 0.8065 MB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.4055, allocations: 15.92 kB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/0.4058, allocations: 68.55 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/0.4064, allocations: 328.5 kB / 440.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.4065, allocations: 80.97 kB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.4066, allocations: 40.38 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.4074, allocations: 453.7 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.4074, allocations: 4 kB / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.4074, allocations: 12 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.4074, allocations: 16.38 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.408, allocations: 299.2 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.41, allocations: 1.508 MB / 442.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.4106, allocations: 301.6 kB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.4109, allocations: 140.2 kB / 443 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.4109, allocations: 12 kB / 443 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005441/0.4115, allocations: 358.9 kB / 443.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.914e-06/0.4115, allocations: 3.938 kB / 443.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001042/0.4125, allocations: 0.525 MB / 443.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.4126, allocations: 140.5 kB / 444 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/0.4132, allocations: 0.4935 MB / 444.5 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.4133, allocations: 41.69 kB / 444.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.4135, allocations: 240.8 kB / 444.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.535e-05/0.4136, allocations: 91.36 kB / 444.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.4137, allocations: 114.2 kB / 445 MB, free: 9.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.414, allocations: 358.7 kB / 445.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.4142, allocations: 146.6 kB / 445.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/0.4147, allocations: 312.6 kB / 445.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/0.4153, allocations: 410.5 kB / 446.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.4153, allocations: 4 kB / 446.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007871/0.4161, allocations: 0.4927 MB / 446.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.4161, allocations: 33.7 kB / 446.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4162, allocations: 4.312 kB / 446.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.4162, allocations: 4 kB / 446.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.4163, allocations: 51.84 kB / 446.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.4163, allocations: 8 kB / 446.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.4166, allocations: 51.66 kB / 446.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.4166, allocations: 23.98 kB / 446.9 MB, free: 7.457 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.0003091/0.4169, allocations: 252.6 kB / 447.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-05/0.417, allocations: 51.7 kB / 447.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008419/0.4179, allocations: 424.6 kB / 447.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.4179, allocations: 4 kB / 447.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4179, allocations: 0 / 447.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.4179, allocations: 3.984 kB / 447.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.419, allocations: 0.6379 MB / 448.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.419, allocations: 0 / 448.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.419, allocations: 15.92 kB / 448.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.419, allocations: 4 kB / 448.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.4191, allocations: 12 kB / 448.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4191, allocations: 4 kB / 448.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4191, allocations: 0 / 448.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/0.4198, allocations: 0.5318 MB / 448.8 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/0.4199, allocations: 43.66 kB / 448.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.42, allocations: 16 kB / 448.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.4202, allocations: 27.97 kB / 448.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.4203, allocations: 43.88 kB / 448.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.4203, allocations: 23.98 kB / 448.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003892/0.4207, allocations: 323.1 kB / 449.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4207, allocations: 0 / 449.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000486/0.4212, allocations: 111.8 kB / 449.4 MB, free: 4.848 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 (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.001781/0.423, allocations: 467 kB / 449.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007583/0.4238, allocations: 426.3 kB / 450.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4238, allocations: 0 / 450.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.4241, allocations: 241.8 kB / 450.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.4247, allocations: 95.73 kB / 450.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.4262, allocations: 0.8733 MB / 451.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.4265, allocations: 234.8 kB / 451.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.4266, allocations: 39.42 kB / 451.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4266, allocations: 0 / 451.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of Templates: time 0.01035/0.4369, allocations: 6.251 MB / 458 MB, free: 12.3 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BooleanNetwork1/BooleanNetwork1.csv","/var/lib/jenkins1/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: 8.30144370580092]