Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.StateGraph.Examples.ShowCompositeStep.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.001326/0.001326, allocations: 106.5 kB / 21.2 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.001446/0.001446, allocations: 212.6 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 7.754 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.ShowCompositeStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|compositeStep.transition3.enableFire|compositeStep.transition4.enableFire|compositeStep.transition4a.enableFire|compositeStep.transition5.enableFire|compositeStep.transition6.enableFire|compositeStep.transition6a.enableFire|transition1.enableFire|transition2.enableFire|transition7.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.ShowCompositeStep") translateModel(Modelica.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|compositeStep.transition3.enableFire|compositeStep.transition4.enableFire|compositeStep.transition4a.enableFire|compositeStep.transition5.enableFire|compositeStep.transition6.enableFire|compositeStep.transition6a.enableFire|transition1.enableFire|transition2.enableFire|transition7.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.ShowCompositeStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 43.92 kB / 378.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2168, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowCompositeStep): time 0.00399/0.2208, allocations: 2.491 MB / 434.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.2227, allocations: 1.065 MB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.2229, allocations: 23.88 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.2232, allocations: 118.6 kB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.2235, allocations: 87.12 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.2245, allocations: 0.5968 MB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.2259, allocations: 1.37 MB / 438.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009013/0.2268, allocations: 0.7115 MB / 438.8 MB, free: 240 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004418/0.2272, allocations: 454.7 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004988/0.2277, allocations: 474 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.2279, allocations: 135.9 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.2281, allocations: 144 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.2283, allocations: 299.2 kB / 440.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.2287, allocations: 398.2 kB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.2301, allocations: 1.408 MB / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2301, allocations: 0 / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2301, allocations: 0 / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.2301, allocations: 0 / 442 MB, free: 12.96 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.001823/0.2319, allocations: 1.096 MB / 443.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.232, allocations: 8.031 kB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.2331, allocations: 184.2 kB / 443.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007914/0.2339, allocations: 449.5 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.234, allocations: 98.44 kB / 443.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.2342, allocations: 124.3 kB / 444 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.2361, allocations: 1.052 MB / 445 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.2362, allocations: 4.172 kB / 445 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.976e-05/0.2363, allocations: 51.94 kB / 445.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.2363, allocations: 24 kB / 445.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.2378, allocations: 0.8081 MB / 445.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004134/0.242, allocations: 2.605 MB / 448.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.2431, allocations: 0.6599 MB / 449.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/0.2437, allocations: 304.6 kB / 449.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.2437, allocations: 13 kB / 449.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007726/0.2445, allocations: 461.8 kB / 450 MB, free: 4.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.986e-06/0.2445, allocations: 0 / 450 MB, free: 4.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.001659/0.2462, allocations: 0.8985 MB / 450.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.2462, allocations: 110.2 kB / 451 MB, free: 3.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.2466, allocations: 361.2 kB / 451.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.2467, allocations: 77.69 kB / 451.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.247, allocations: 337.9 kB / 451.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.2473, allocations: 273.9 kB / 452 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000373/0.2476, allocations: 286.8 kB / 452.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.2478, allocations: 366.8 kB / 452.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005595/0.2484, allocations: 306.4 kB / 452.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000777/0.2492, allocations: 0.5304 MB / 453.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.2503, allocations: 0.7445 MB / 454.2 MB, free: 340 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.2503, allocations: 7.938 kB / 454.2 MB, free: 332 kB / 350.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00159/0.2519, allocations: 0.9341 MB / 455.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.2519, allocations: 8 kB / 455.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.2519, allocations: 11.94 kB / 455.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.2519, allocations: 12 kB / 455.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.2524, allocations: 119.6 kB / 455.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.899e-05/0.2524, allocations: 23.92 kB / 455.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.2528, allocations: 115.7 kB / 455.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.2528, allocations: 48 kB / 455.5 MB, free: 15.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 134 ($PRE.compositeStep.transition3.enableFire,$PRE.compositeStep.transition4.enableFire,$PRE.compositeStep.transition5.enableFire,$PRE.compositeStep.transition6.enableFire,$PRE.compositeStep.transition4a.enableFire,$PRE.compositeStep.transition6a.enableFire,$PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition7.enableFire,stateGraphRoot.activeSteps,Parallel1.outPort.available,transition7.enableFire,transition7.localCondition,step6.oldActive,$PRE.step6.oldActive,step6.newActive,$PRE.step6.newActive,step6.localActive,$PRE.step6.localActive,step6.active,transition2.t_start,$PRE.transition2.t_start,transition2.fire,transition2.enableFire,step1.oldActive,$PRE.step1.oldActive,step1.newActive,$PRE.step1.newActive,step1.localActive,$PRE.step1.localActive,step1.active,transition1.t_start,$PRE.transition1.t_start,transition1.outPort.occupied,transition1.fire,transition1.enableFire,step0.oldActive,$PRE.step0.oldActive,step0.newActive,$PRE.step0.newActive,step0.localActive,$PRE.step0.localActive,step0.active,compositeStep.Alternative1.split[3].available,compositeStep.Alternative1.split[2].available,compositeStep.exitStep.oldActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.localActive,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.active,compositeStep.initStep.oldActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.localActive,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.active,compositeStep.transition6a.t_start,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.fire,compositeStep.transition6a.enableFire,compositeStep.step4a.oldActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.active,compositeStep.transition4a.t_start,$PRE.compositeStep.transition4a.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.enableFire,compositeStep.transition6.t_start,$PRE.compositeStep.transition6.t_start,compositeStep.transition6.fire,compositeStep.transition6.enableFire,compositeStep.transition5.t_start,$PRE.compositeStep.transition5.t_start,compositeStep.transition5.fire,compositeStep.transition5.enableFire,compositeStep.step4.oldActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.localActive,compositeStep.step4.active,compositeStep.step3.oldActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.localActive,compositeStep.step3.active,compositeStep.transition4.t_start,$PRE.compositeStep.transition4.t_start,compositeStep.transition4.fire,compositeStep.transition4.enableFire,compositeStep.transition3.t_start,$PRE.compositeStep.transition3.t_start,compositeStep.transition3.fire,compositeStep.transition3.enableFire,compositeStep.activeSteps,compositeStep.newActive,$PRE.compositeStep.newActive,compositeStep.active,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,transition7.t_start,$PRE.transition7.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition,compositeStep.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,compositeStep.resume[1].set,compositeStep.suspend[1].reset,compositeStep.stateGraphRoot.suspend,compositeStep.stateGraphRoot.resume) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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.0004383/0.2533, allocations: 353 kB / 455.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.2533, allocations: 55.67 kB / 455.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.2535, allocations: 69.3 kB / 455.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.2535, allocations: 3.984 kB / 455.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2535, allocations: 4 kB / 455.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.2536, allocations: 63.42 kB / 456 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.113e-05/0.2537, allocations: 31.97 kB / 456 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.2539, allocations: 31.97 kB / 456.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.2541, allocations: 108.8 kB / 456.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001443/0.2556, allocations: 0.8874 MB / 457.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001237/0.2568, allocations: 0.9292 MB / 458 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005225/0.2573, allocations: 327.8 kB / 458.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.2575, allocations: 169.2 kB / 458.5 MB, free: 12 MB / 366.1 MB Notification: Performance of Backend: time 3.41e-07/0.2575, allocations: 0 / 458.5 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.2588, allocations: 0.5887 MB / 459.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of SimCode: time 0.002/0.2608, allocations: 1.528 MB / 460.6 MB, free: 9.832 MB / 366.1 MB Notification: Performance of Templates: time 0.01744/0.2782, allocations: 9.428 MB / 470 MB, free: 0.5273 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.StateGraph.Examples.ShowCompositeStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; mkfifo Modelica_4.1.0_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.StateGraph.Examples.ShowCompositeStep.pipe >> ../files/Modelica_4.1.0_Modelica.StateGraph.Examples.ShowCompositeStep.sim & ./Modelica_4.1.0_Modelica.StateGraph.Examples.ShowCompositeStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.StateGraph.Examples.ShowCompositeStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.StateGraph.Examples.ShowCompositeStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/ShowCompositeStep/ShowCompositeStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.StateGraph.Examples.ShowCompositeStep.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.527190002998395]