Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001781/0.001781, allocations: 112.2 kB / 21.18 MB, free: 0.625 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.002254/0.002254, allocations: 203 kB / 24.47 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.89 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2609, allocations: 53.32 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004693/0.2656, allocations: 2.514 MB / 434.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.2686, allocations: 1.496 MB / 436.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.2689, allocations: 15.94 kB / 436.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009252/0.2698, allocations: 242.9 kB / 436.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00065/0.2705, allocations: 199 kB / 436.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007807/0.2713, allocations: 274 kB / 436.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006485/0.2719, allocations: 479.8 kB / 437.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.2722, allocations: 149.8 kB / 437.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.2725, allocations: 191.2 kB / 437.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.2728, allocations: 230.9 kB / 437.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/0.2728, allocations: 36 kB / 437.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.2731, allocations: 123.9 kB / 438 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.2733, allocations: 127.6 kB / 438.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.2735, allocations: 218.7 kB / 438.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007614/0.2742, allocations: 0.5774 MB / 438.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2742, allocations: 0 / 438.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2742, allocations: 0 / 438.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2742, allocations: 0 / 438.9 MB, free: 0.5039 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.001564/0.2758, allocations: 0.8703 MB / 439.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2758, allocations: 12.02 kB / 439.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.2761, allocations: 72.55 kB / 439.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.2767, allocations: 391.4 kB / 440.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/0.2768, allocations: 63.25 kB / 440.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.2769, allocations: 55.81 kB / 440.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.2776, allocations: 432.7 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.2776, allocations: 4 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.2776, allocations: 16 kB / 440.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/0.2777, allocations: 16.42 kB / 440.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.2782, allocations: 265.4 kB / 441.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.2804, allocations: 1.671 MB / 442.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.281, allocations: 272 kB / 443 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.2813, allocations: 118.5 kB / 443.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.2813, allocations: 11.92 kB / 443.1 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005287/0.2818, allocations: 320.5 kB / 443.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.465e-06/0.2818, allocations: 0 / 443.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001038/0.2829, allocations: 481.7 kB / 443.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.283, allocations: 162.2 kB / 444.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.2836, allocations: 0.4974 MB / 444.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.2836, allocations: 41.7 kB / 444.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.2838, allocations: 240.9 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.056e-05/0.2839, allocations: 83.38 kB / 444.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.2841, allocations: 118.2 kB / 445 MB, free: 9.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.2843, allocations: 362.7 kB / 445.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.2845, allocations: 117.1 kB / 445.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.2849, allocations: 266.7 kB / 445.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005885/0.2855, allocations: 399.2 kB / 446.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.2855, allocations: 8 kB / 446.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008284/0.2863, allocations: 466.5 kB / 446.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.152e-05/0.2864, allocations: 33.7 kB / 446.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.2864, allocations: 4.469 kB / 446.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.2864, allocations: 12 kB / 446.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.2866, allocations: 39.91 kB / 446.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.2866, allocations: 11.94 kB / 446.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.2868, allocations: 55.7 kB / 446.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.2869, allocations: 20.31 kB / 446.8 MB, free: 8.062 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.000318/0.2872, allocations: 256.5 kB / 447 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.2873, allocations: 51.67 kB / 447.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007348/0.288, allocations: 374.8 kB / 447.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.288, allocations: 7.984 kB / 447.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.288, allocations: 0 / 447.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.2882, allocations: 120.8 kB / 447.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.2882, allocations: 15.94 kB / 447.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.2884, allocations: 31.92 kB / 447.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.2885, allocations: 43.88 kB / 447.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009237/0.2895, allocations: 0.6644 MB / 448.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008611/0.2903, allocations: 0.7043 MB / 449 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002754/0.2906, allocations: 135.1 kB / 449.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003812/0.291, allocations: 327.1 kB / 449.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of Backend: time 6.52e-07/0.291, allocations: 0 / 449.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002714/0.2937, allocations: 0.6876 MB / 450.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of SimCode: time 0.001634/0.2953, allocations: 1.223 MB / 451.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of Templates: time 0.01242/0.3077, allocations: 5.943 MB / 457.3 MB, free: 13.54 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BooleanNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BooleanNetwork1/BooleanNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.525226938072592]