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.001929/0.001929, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.001963/0.001963, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 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.59/1.59, allocations: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 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 1.383e-06/1.383e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.727e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004773/0.0048, allocations: 2.459 MB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.007743, allocations: 1.451 MB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.007914, allocations: 15.88 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008105/0.008724, allocations: 238.9 kB / 276.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.009263, allocations: 218.8 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006443/0.009907, allocations: 267.2 kB / 276.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006409/0.01055, allocations: 487.5 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.01085, allocations: 142.3 kB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.01126, allocations: 275.3 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.01154, allocations: 179.5 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.322e-05/0.01161, allocations: 36 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.01188, allocations: 123.8 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.01205, allocations: 127.5 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.01225, allocations: 135.5 kB / 278.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008558/0.0131, allocations: 0.576 MB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01311, allocations: 0 / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01311, allocations: 4 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.01312, allocations: 0 / 278.9 MB, free: 11.09 MB / 266.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.001561/0.01468, allocations: 0.9102 MB / 279.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.01472, allocations: 15.98 kB / 279.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003414/0.01506, allocations: 104.5 kB / 279.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000592/0.01566, allocations: 330.6 kB / 280.2 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003413/0.016, allocations: 92.84 kB / 280.3 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.639e-05/0.01606, allocations: 36.38 kB / 280.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.01684, allocations: 450.5 kB / 280.8 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.01686, allocations: 4.172 kB / 280.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.0169, allocations: 28.12 kB / 280.8 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.01692, allocations: 16.48 kB / 280.9 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/0.01744, allocations: 239.5 kB / 281.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.01985, allocations: 2.024 MB / 283.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.02051, allocations: 315.1 kB / 283.4 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.02077, allocations: 136.7 kB / 283.6 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.777e-05/0.02083, allocations: 8 kB / 283.6 MB, free: 6.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005947/0.02142, allocations: 372.5 kB / 283.9 MB, free: 5.711 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/0.02143, allocations: 0 / 283.9 MB, free: 5.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.001128/0.02255, allocations: 0.4982 MB / 284.4 MB, free: 5.188 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.02267, allocations: 144.5 kB / 284.6 MB, free: 5.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007197/0.02339, allocations: 0.5688 MB / 285.1 MB, free: 4.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.02343, allocations: 37.7 kB / 285.2 MB, free: 4.387 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.02372, allocations: 307.6 kB / 285.5 MB, free: 4.078 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.02383, allocations: 95.38 kB / 285.6 MB, free: 3.984 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.02406, allocations: 155.8 kB / 285.7 MB, free: 3.824 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003358/0.0244, allocations: 0.5547 MB / 286.3 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.02465, allocations: 122.7 kB / 286.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.02515, allocations: 362.3 kB / 286.7 MB, free: 2.684 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000919/0.02606, allocations: 437.8 kB / 287.2 MB, free: 2.168 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.02607, allocations: 0 / 287.2 MB, free: 2.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009234/0.02699, allocations: 488.2 kB / 287.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/0.02705, allocations: 42.09 kB / 287.7 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.02706, allocations: 8 kB / 287.7 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.02708, allocations: 8 kB / 287.7 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.02724, allocations: 43.86 kB / 287.8 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.02726, allocations: 15.92 kB / 287.8 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.02749, allocations: 51.67 kB / 287.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/0.02754, allocations: 23.98 kB / 287.8 MB, free: 1.477 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,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.0003313/0.02787, allocations: 267.4 kB / 288.1 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.02798, allocations: 63.66 kB / 288.2 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008112/0.0288, allocations: 396.2 kB / 288.6 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.02881, allocations: 7.938 kB / 288.6 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.02881, allocations: 4 kB / 288.6 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.02882, allocations: 3.984 kB / 288.6 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.03004, allocations: 0.7004 MB / 289.3 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.03005, allocations: 4 kB / 289.3 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.701e-05/0.03011, allocations: 12 kB / 289.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.03012, allocations: 8 kB / 289.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/0.03016, allocations: 15.92 kB / 289.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.03016, allocations: 3.938 kB / 289.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.03016, allocations: 4 kB / 289.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008847/0.03105, allocations: 0.5691 MB / 289.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.515e-05/0.03113, allocations: 47.59 kB / 289.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.03121, allocations: 19.92 kB / 290 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.03139, allocations: 19.98 kB / 290 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.03152, allocations: 43.88 kB / 290 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.03156, allocations: 16 kB / 290 MB, free: 15.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000403/0.03196, allocations: 327.1 kB / 290.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03196, allocations: 0 / 290.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004911/0.03246, allocations: 119.8 kB / 290.5 MB, free: 14.74 MB / 282.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.00307/0.03552, allocations: 470.1 kB / 290.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008531/0.03638, allocations: 446.9 kB / 291.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.03638, allocations: 3.938 kB / 291.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.03679, allocations: 248.4 kB / 291.6 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.0374, allocations: 101.9 kB / 291.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.03893, allocations: 0.785 MB / 292.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.03921, allocations: 234.9 kB / 292.7 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.03941, allocations: 63.27 kB / 292.8 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.03953, allocations: 36.48 kB / 292.8 MB, free: 12.41 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.03953, allocations: 8 kB / 292.8 MB, free: 12.4 MB / 282.7 MB Notification: Performance of Templates: time 0.01297/0.0525, allocations: 5.42 MB / 298.2 MB, free: 7.039 MB / 282.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 -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","/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.783538465970196]