Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 159.4 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8074/0.8074, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.106e-05, allocations: 2.281 kB / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.002648/0.002669, allocations: 2.363 MB / 302.1 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.004032, allocations: 1.224 MB / 303.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.004164, allocations: 11.88 kB / 303.3 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.004737, allocations: 250.8 kB / 303.5 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.004992, allocations: 163.1 kB / 303.7 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.005367, allocations: 283.2 kB / 304 MB, free: 2.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.00571, allocations: 487.5 kB / 304.5 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.005913, allocations: 138.3 kB / 304.6 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.006106, allocations: 267.3 kB / 304.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.006262, allocations: 171.5 kB / 305 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.0063, allocations: 36 kB / 305.1 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.006464, allocations: 127.8 kB / 305.2 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.00657, allocations: 135.5 kB / 305.3 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.544e-05/0.006665, allocations: 131.6 kB / 305.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007145/0.007379, allocations: 0.5799 MB / 306 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.007382, allocations: 4 kB / 306 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.007383, allocations: 0 / 306 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.007391, allocations: 0 / 306 MB, free: 0.5547 MB / 282.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.0008623/0.008253, allocations: 0.7871 MB / 306.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.008286, allocations: 23.92 kB / 306.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.00836, allocations: 56.61 kB / 306.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.008704, allocations: 327.7 kB / 307.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.243e-05/0.008766, allocations: 84.97 kB / 307.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.008799, allocations: 40.38 kB / 307.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.009216, allocations: 457.9 kB / 307.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.009228, allocations: 0 / 307.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.00925, allocations: 16 kB / 307.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.009266, allocations: 16.5 kB / 307.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.009568, allocations: 295.4 kB / 308.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.01064, allocations: 1.508 MB / 309.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.01101, allocations: 313.6 kB / 309.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.01115, allocations: 136.2 kB / 310 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.01119, allocations: 15.92 kB / 310.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.01149, allocations: 365.1 kB / 310.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.393e-06/0.01149, allocations: 0 / 310.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.0005918/0.01208, allocations: 0.5457 MB / 311 MB, free: 11.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.01214, allocations: 136.5 kB / 311.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.01246, allocations: 493.4 kB / 311.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.01248, allocations: 37.7 kB / 311.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.01259, allocations: 232.9 kB / 311.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.01265, allocations: 91.36 kB / 311.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/0.01274, allocations: 118.2 kB / 312 MB, free: 10.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.01283, allocations: 358.8 kB / 312.4 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.01297, allocations: 142.6 kB / 312.5 MB, free: 9.652 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.01343, allocations: 324.5 kB / 312.9 MB, free: 9.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.01376, allocations: 434.4 kB / 313.3 MB, free: 8.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.01376, allocations: 4 kB / 313.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004492/0.01421, allocations: 0.5043 MB / 313.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.01424, allocations: 33.7 kB / 313.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.01424, allocations: 4 kB / 313.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.01426, allocations: 8 kB / 313.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.01433, allocations: 39.91 kB / 313.9 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.01434, allocations: 11.94 kB / 313.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.01446, allocations: 59.64 kB / 313.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.01449, allocations: 20 kB / 314 MB, free: 8.07 MB / 298.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.0001619/0.01465, allocations: 245.1 kB / 314.2 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.01469, allocations: 63.56 kB / 314.3 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.01513, allocations: 456.7 kB / 314.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01513, allocations: 4 kB / 314.7 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01514, allocations: 0 / 314.7 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.01514, allocations: 0 / 314.7 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.01573, allocations: 0.6619 MB / 315.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01574, allocations: 0 / 315.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.01577, allocations: 19.92 kB / 315.4 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01577, allocations: 4 kB / 315.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.01579, allocations: 11.98 kB / 315.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.01579, allocations: 4 kB / 315.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01579, allocations: 0 / 315.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.0162, allocations: 0.5504 MB / 316 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.01624, allocations: 39.7 kB / 316 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.01628, allocations: 12 kB / 316 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.702e-05/0.01637, allocations: 27.97 kB / 316 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.01646, allocations: 43.94 kB / 316.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.01648, allocations: 15.98 kB / 316.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.01668, allocations: 323.1 kB / 316.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01668, allocations: 0 / 316.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.01696, allocations: 127.6 kB / 316.5 MB, free: 5.379 MB / 298.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: 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 (37): * Single equations (assignments): 31 * 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.0006986/0.01766, allocations: 485.5 kB / 317 MB, free: 4.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004387/0.0181, allocations: 438.2 kB / 317.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.0181, allocations: 0.9375 kB / 317.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.01831, allocations: 241 kB / 317.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.01863, allocations: 90.23 kB / 317.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008544/0.01948, allocations: 0.8608 MB / 318.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.01963, allocations: 241 kB / 318.9 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.917e-05/0.01971, allocations: 48.48 kB / 318.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01971, allocations: 3.938 kB / 318.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of Templates: time 0.00603/0.02574, allocations: 6.449 MB / 325.4 MB, free: 12.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BooleanNetwork1/BooleanNetwork1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.406290555372834]