Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001768/0.001768, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.002158/0.002158, allocations: 209.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 7.812 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+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_4.1.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.1.0_Modelica.Blocks.Examples.BooleanNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 51.86 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2108, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004118/0.2149, allocations: 2.409 MB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.2174, allocations: 1.414 MB / 436.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.2176, allocations: 19.88 kB / 436.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007131/0.2183, allocations: 246.9 kB / 436.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004842/0.2188, allocations: 207 kB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.2194, allocations: 275.3 kB / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005365/0.2199, allocations: 475.7 kB / 437.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.2202, allocations: 154.1 kB / 437.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.2204, allocations: 203.2 kB / 437.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.2207, allocations: 227 kB / 437.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.2207, allocations: 36 kB / 438 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.221, allocations: 127.9 kB / 438.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.2211, allocations: 127.5 kB / 438.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.2213, allocations: 167 kB / 438.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007169/0.222, allocations: 0.5783 MB / 439 MB, free: 116 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.222, allocations: 0 / 439 MB, free: 116 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.222, allocations: 0 / 439 MB, free: 116 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.222, allocations: 0 / 439 MB, free: 116 kB / 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.001423/0.2235, allocations: 0.7988 MB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2235, allocations: 8.031 kB / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.2238, allocations: 72.55 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00056/0.2244, allocations: 332.5 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.762e-05/0.2245, allocations: 80.97 kB / 440.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.2245, allocations: 43.94 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007686/0.2253, allocations: 453.5 kB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.2253, allocations: 0 / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.2254, allocations: 20 kB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.2254, allocations: 16.38 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005655/0.226, allocations: 291.2 kB / 441 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.228, allocations: 1.512 MB / 442.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.2286, allocations: 301.6 kB / 442.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.2288, allocations: 136.2 kB / 443 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.653e-05/0.2289, allocations: 11.98 kB / 443 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005373/0.2294, allocations: 355.8 kB / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.2294, allocations: 11.94 kB / 443.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001054/0.2305, allocations: 0.5324 MB / 443.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/0.2306, allocations: 136.5 kB / 444 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005851/0.2312, allocations: 0.4935 MB / 444.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.2312, allocations: 41.7 kB / 444.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.2314, allocations: 240.9 kB / 444.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.2315, allocations: 83.36 kB / 444.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.2317, allocations: 114.2 kB / 445 MB, free: 9.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.2319, allocations: 358.8 kB / 445.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.2321, allocations: 150.6 kB / 445.5 MB, free: 9.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.2326, allocations: 320.6 kB / 445.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.2331, allocations: 402.5 kB / 446.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2331, allocations: 0 / 446.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008519/0.234, allocations: 0.4924 MB / 446.7 MB, free: 7.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.234, allocations: 41.69 kB / 446.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2341, allocations: 4 kB / 446.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2341, allocations: 8 kB / 446.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.2342, allocations: 39.86 kB / 446.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.2342, allocations: 7.984 kB / 446.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.2345, allocations: 60.09 kB / 446.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.2345, allocations: 20 kB / 446.9 MB, free: 7.664 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.0002857/0.2348, allocations: 248.6 kB / 447.1 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.879e-05/0.2349, allocations: 47.72 kB / 447.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/0.2357, allocations: 420.9 kB / 447.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.2357, allocations: 4 kB / 447.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2357, allocations: 8 kB / 447.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.454e-05/0.2358, allocations: 47.64 kB / 447.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.2358, allocations: 12 kB / 447.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.236, allocations: 23.97 kB / 447.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.2362, allocations: 51.81 kB / 447.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009917/0.2372, allocations: 0.7014 MB / 448.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009033/0.2381, allocations: 0.7395 MB / 449.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003144/0.2384, allocations: 177.5 kB / 449.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003876/0.2388, allocations: 331.1 kB / 449.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of Backend: time 2.91e-07/0.2388, allocations: 0 / 449.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002638/0.2414, allocations: 0.7283 MB / 450.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of SimCode: time 0.001537/0.2429, allocations: 1.225 MB / 451.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of Templates: time 0.01248/0.2554, allocations: 6.467 MB / 458.1 MB, free: 12.54 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BooleanNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BooleanNetwork1/BooleanNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.452812985000492]