Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 194 kB / 22.75 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00255/0.00255, allocations: 47.92 kB / 369.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2684, allocations: 52.14 MB / 421.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004309/0.2727, allocations: 2.47 MB / 423.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.2753, allocations: 1.344 MB / 425.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.2756, allocations: 7.938 kB / 425.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008731/0.2764, allocations: 235 kB / 425.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004553/0.2769, allocations: 167.1 kB / 425.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008061/0.2777, allocations: 310.4 kB / 425.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005846/0.2783, allocations: 475.7 kB / 426.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.2786, allocations: 153.9 kB / 426.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.2788, allocations: 187.2 kB / 426.6 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.2791, allocations: 223 kB / 426.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.969e-05/0.2792, allocations: 36 kB / 426.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.2794, allocations: 127.9 kB / 427 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.2796, allocations: 123.6 kB / 427.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.2798, allocations: 214.7 kB / 427.3 MB, free: 9.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007656/0.2806, allocations: 0.5622 MB / 427.9 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2806, allocations: 0 / 427.9 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.2806, allocations: 4 kB / 427.9 MB, free: 8.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.2806, allocations: 0 / 427.9 MB, free: 8.555 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.001495/0.2821, allocations: 0.8742 MB / 428.8 MB, free: 7.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2821, allocations: 8.031 kB / 428.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.2822, allocations: 60.56 kB / 428.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.2828, allocations: 399.1 kB / 429.2 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.093e-05/0.2829, allocations: 58.7 kB / 429.3 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.283, allocations: 40 kB / 429.3 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007393/0.2837, allocations: 432.6 kB / 429.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.2837, allocations: 4 kB / 429.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.2838, allocations: 16 kB / 429.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.2838, allocations: 12.44 kB / 429.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.2843, allocations: 269.5 kB / 430 MB, free: 6.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.2864, allocations: 1.686 MB / 431.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006087/0.287, allocations: 268 kB / 432 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.2872, allocations: 114.5 kB / 432.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-05/0.2873, allocations: 12.06 kB / 432.1 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004928/0.2878, allocations: 333 kB / 432.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.234e-06/0.2878, allocations: 0 / 432.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001014/0.2888, allocations: 490.1 kB / 432.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.2889, allocations: 162.2 kB / 433.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/0.2895, allocations: 497.4 kB / 433.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.2895, allocations: 45.64 kB / 433.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.2897, allocations: 240.9 kB / 433.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.589e-05/0.2898, allocations: 87.38 kB / 433.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.29, allocations: 114.2 kB / 434 MB, free: 2.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.2902, allocations: 358.8 kB / 434.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.2904, allocations: 113.1 kB / 434.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.2908, allocations: 270.7 kB / 434.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000609/0.2914, allocations: 418.5 kB / 435.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2914, allocations: 0 / 435.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000839/0.2922, allocations: 482.5 kB / 435.6 MB, free: 284 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.2923, allocations: 40.92 kB / 435.7 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2923, allocations: 4.469 kB / 435.7 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.2923, allocations: 12 kB / 435.7 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.2925, allocations: 39.91 kB / 435.7 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.2925, allocations: 11.94 kB / 435.7 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.2928, allocations: 63.53 kB / 435.8 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.2928, allocations: 23.98 kB / 435.8 MB, free: 84 kB / 334.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.0003404/0.2931, allocations: 252.6 kB / 436.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-05/0.2932, allocations: 47.72 kB / 436.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008212/0.2941, allocations: 411.2 kB / 436.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2941, allocations: 4 kB / 436.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2941, allocations: 0 / 436.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.2941, allocations: 3.938 kB / 436.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.2952, allocations: 0.7793 MB / 437.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2952, allocations: 7.938 kB / 437.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.545e-05/0.2953, allocations: 19.92 kB / 437.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.2953, allocations: 7.938 kB / 437.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.2953, allocations: 8 kB / 437.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.2954, allocations: 7.984 kB / 437.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2954, allocations: 0 / 437.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007613/0.2961, allocations: 0.519 MB / 437.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2962, allocations: 124.7 kB / 438 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.2963, allocations: 11.98 kB / 438 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.2965, allocations: 19.98 kB / 438 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2966, allocations: 43.89 kB / 438.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.2966, allocations: 19.98 kB / 438.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003763/0.297, allocations: 323.1 kB / 438.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.297, allocations: 4 kB / 438.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005094/0.2975, allocations: 111.8 kB / 438.5 MB, free: 13.26 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: 37 (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,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulseStart,booleanPulse2.pulseStart,or1.u[1],xor1.u[1],nand1.u[1],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 (36): * Single equations (assignments): 30 * 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.001667/0.2992, allocations: 463.1 kB / 439 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007497/0.3, allocations: 374.9 kB / 439.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3, allocations: 0 / 439.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.3003, allocations: 207.2 kB / 439.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.3009, allocations: 89.5 kB / 439.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.3024, allocations: 0.847 MB / 440.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.3029, allocations: 0.8361 MB / 441.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.303, allocations: 51.41 kB / 441.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.303, allocations: 0 / 441.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01088/0.3139, allocations: 6.35 MB / 447.7 MB, free: 4.145 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BooleanNetwork1/BooleanNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches