Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.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.001919/0.001919, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002333/0.002333, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 47.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2581, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.003217/0.2613, allocations: 1.691 MB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007331/0.262, allocations: 287.2 kB / 434.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.2621, allocations: 7.938 kB / 434.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.2622, allocations: 23.69 kB / 434.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.2623, allocations: 19.78 kB / 434.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.2627, allocations: 123.8 kB / 434.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.2631, allocations: 275.5 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.2634, allocations: 175.2 kB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.2635, allocations: 95.69 kB / 435 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.2637, allocations: 95.61 kB / 435.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.2637, allocations: 24 kB / 435.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.2638, allocations: 24 kB / 435.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.2638, allocations: 63.81 kB / 435.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.86e-05/0.2639, allocations: 87.58 kB / 435.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.2643, allocations: 262.5 kB / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2643, allocations: 0 / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2643, allocations: 0 / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2643, allocations: 0 / 435.5 MB, free: 3.512 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006844/0.265, allocations: 417.2 kB / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.265, allocations: 11.97 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.2653, allocations: 40.77 kB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.2656, allocations: 170.3 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.2656, allocations: 20.88 kB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.2657, allocations: 24.38 kB / 436.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.2662, allocations: 277.7 kB / 436.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2662, allocations: 192 / 436.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.2662, allocations: 15.94 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2662, allocations: 4 kB / 436.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.2665, allocations: 161.6 kB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.2677, allocations: 0.8318 MB / 437.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.2679, allocations: 149.5 kB / 437.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.2681, allocations: 81.56 kB / 437.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.2681, allocations: 8 kB / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.2683, allocations: 129.1 kB / 437.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/0.2683, allocations: 0 / 437.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004476/0.2688, allocations: 226.6 kB / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.2688, allocations: 81.11 kB / 438.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.269, allocations: 157.7 kB / 438.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.269, allocations: 37.7 kB / 438.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.2691, allocations: 144.7 kB / 438.5 MB, free: 368 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.2692, allocations: 63.53 kB / 438.5 MB, free: 304 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.2693, allocations: 85.42 kB / 438.6 MB, free: 212 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2694, allocations: 334.9 kB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.2696, allocations: 59.97 kB / 439 MB, free: 15.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.2698, allocations: 140.5 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.27, allocations: 196.8 kB / 439.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.27, allocations: 3.938 kB / 439.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003991/0.2704, allocations: 249.3 kB / 439.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2705, allocations: 8 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2705, allocations: 4 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.2705, allocations: 7.984 kB / 439.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.2706, allocations: 36.14 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.2706, allocations: 8 kB / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.2707, allocations: 27.83 kB / 439.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.2708, allocations: 16 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,stateGraphRoot.activeSteps,timer.entryTime,$PRE.timer.entryTime,transition2.enableFire,transition2.localCondition,step.active,step.oldActive,$PRE.step.oldActive,step.newActive,$PRE.step.newActive,step.localActive,$PRE.step.localActive,transition1.t_start,$PRE.transition1.t_start,transition1.fire,transition1.enableFire,initialStep.oldActive,$PRE.initialStep.oldActive,initialStep.newActive,$PRE.initialStep.newActive,initialStep.localActive,$PRE.initialStep.localActive,initialStep.active,$whenCondition1,$whenCondition2,transition2.t_start,$PRE.transition2.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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.0001676/0.2709, allocations: 157.7 kB / 439.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.271, allocations: 15.94 kB / 439.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.271, allocations: 12.94 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.271, allocations: 0 / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.271, allocations: 4 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.271, allocations: 15.91 kB / 439.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.2711, allocations: 11.98 kB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.2711, allocations: 4 kB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.2712, allocations: 23.91 kB / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004135/0.2716, allocations: 344 kB / 440.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003936/0.272, allocations: 429.8 kB / 440.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001173/0.2721, allocations: 70.73 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.942e-05/0.2722, allocations: 95.27 kB / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of Backend: time 2.4e-07/0.2722, allocations: 0 / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005963/0.2728, allocations: 210.1 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007811/0.2736, allocations: 0.7306 MB / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Templates: time 0.005561/0.2791, allocations: 2.167 MB / 444 MB, free: 10.76 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; mkfifo Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe >> ../files/Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.sim & ./Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/FirstExample_Variant3/FirstExample_Variant3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.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.415869976997783]