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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 124.5 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 190.6 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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.00146/0.00146, allocations: 51.92 kB / 366.8 MB, free: 324 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09071/0.09217, allocations: 52.15 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004002/0.09617, allocations: 2.465 MB / 421.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.09845, allocations: 1.34 MB / 422.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.0986, allocations: 7.938 kB / 422.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006865/0.09928, allocations: 245.8 kB / 423 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.09965, allocations: 159.2 kB / 423.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006784/0.1003, allocations: 306 kB / 423.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005294/0.1009, allocations: 467.7 kB / 423.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.1011, allocations: 157.8 kB / 424.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.1014, allocations: 187.3 kB / 424.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.1016, allocations: 227 kB / 424.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.176e-05/0.1017, allocations: 39.94 kB / 424.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.1019, allocations: 123.9 kB / 424.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.1021, allocations: 127.6 kB / 424.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.1023, allocations: 210.8 kB / 425 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000687/0.103, allocations: 0.5677 MB / 425.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.103, allocations: 0 / 425.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.103, allocations: 0 / 425.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.103, allocations: 0 / 425.5 MB, free: 5.457 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.001369/0.1044, allocations: 0.8703 MB / 426.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1044, allocations: 8.031 kB / 426.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.1045, allocations: 60.56 kB / 426.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.105, allocations: 407 kB / 426.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-05/0.1051, allocations: 58.7 kB / 426.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.1052, allocations: 43.98 kB / 427 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/0.1059, allocations: 420.7 kB / 427.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1059, allocations: 7.938 kB / 427.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.1059, allocations: 19.98 kB / 427.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.106, allocations: 12.44 kB / 427.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.1065, allocations: 261.5 kB / 427.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.1085, allocations: 1.671 MB / 429.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/0.1091, allocations: 279.8 kB / 429.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.1093, allocations: 112.7 kB / 429.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.288e-05/0.1094, allocations: 11.98 kB / 429.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005039/0.1099, allocations: 336.1 kB / 430.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.883e-06/0.1099, allocations: 0 / 430.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001023/0.1109, allocations: 486.8 kB / 430.6 MB, free: 128 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.111, allocations: 162.2 kB / 430.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.1116, allocations: 497.3 kB / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.1116, allocations: 49.7 kB / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.1118, allocations: 228.9 kB / 431.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.1119, allocations: 91.36 kB / 431.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.112, allocations: 118.2 kB / 431.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1122, allocations: 358.8 kB / 432 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.1125, allocations: 113.1 kB / 432.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.1128, allocations: 262.7 kB / 432.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/0.1134, allocations: 435 kB / 432.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1134, allocations: 4 kB / 432.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008038/0.1142, allocations: 474.5 kB / 433.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.1143, allocations: 38.16 kB / 433.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1143, allocations: 8 kB / 433.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.1143, allocations: 8 kB / 433.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.1145, allocations: 43.86 kB / 433.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.1145, allocations: 15.92 kB / 433.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.1147, allocations: 55.59 kB / 433.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.1148, allocations: 24 kB / 433.5 MB, free: 12.99 MB / 366.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.0002743/0.115, allocations: 248.7 kB / 433.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.1151, allocations: 43.72 kB / 433.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.1156, allocations: 269.2 kB / 434 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1156, allocations: 4 kB / 434 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1156, allocations: 4 kB / 434 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.1156, allocations: 7.922 kB / 434 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.1168, allocations: 0.7765 MB / 434.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1168, allocations: 0 / 434.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.1168, allocations: 15.94 kB / 434.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1168, allocations: 3.938 kB / 434.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.1169, allocations: 15.98 kB / 434.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1169, allocations: 0 / 434.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1169, allocations: 3.938 kB / 434.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/0.1176, allocations: 0.5174 MB / 435.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1177, allocations: 132.7 kB / 435.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.1178, allocations: 8 kB / 435.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.118, allocations: 27.97 kB / 435.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.1181, allocations: 35.95 kB / 435.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.1182, allocations: 16 kB / 435.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003759/0.1185, allocations: 327.1 kB / 435.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1185, allocations: 0 / 435.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.119, allocations: 123.7 kB / 436 MB, free: 10.31 MB / 366.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,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 (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.001569/0.1206, allocations: 455 kB / 436.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007233/0.1213, allocations: 374.9 kB / 436.8 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1213, allocations: 0 / 436.8 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.1216, allocations: 214.4 kB / 437 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.1222, allocations: 92.38 kB / 437.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.1238, allocations: 0.8362 MB / 438 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.1243, allocations: 0.84 MB / 438.8 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.1244, allocations: 43.42 kB / 438.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1244, allocations: 0 / 438.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of Templates: time 0.01008/0.1345, allocations: 6.363 MB / 445.2 MB, free: 1.207 MB / 366.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BooleanNetwork1/BooleanNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 [Calling sys.exit(0), Time elapsed: 7.823007818078622]