Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ShowCompositeStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.StateGraph.Examples.ShowCompositeStep") translateModel(Modelica.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 111.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2818, allocations: 50.55 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowCompositeStep): time 0.003533/0.2854, allocations: 2.61 MB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.2873, allocations: 1.06 MB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.2876, allocations: 23.88 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.2879, allocations: 118.6 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.2882, allocations: 83.12 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.2892, allocations: 0.5617 MB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.2905, allocations: 1.335 MB / 415.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.2915, allocations: 0.9103 MB / 416.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004276/0.292, allocations: 442.7 kB / 417 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004848/0.2925, allocations: 473.9 kB / 417.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.2926, allocations: 132 kB / 417.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.2928, allocations: 140 kB / 417.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.2931, allocations: 303.2 kB / 418.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003903/0.2935, allocations: 489.8 kB / 418.5 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.2948, allocations: 1.386 MB / 419.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2948, allocations: 0 / 419.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2948, allocations: 0 / 419.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.2948, allocations: 0 / 419.9 MB, free: 7.516 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.001737/0.2965, allocations: 1.17 MB / 421.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2966, allocations: 8.031 kB / 421.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000919/0.2975, allocations: 143.7 kB / 421.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.2982, allocations: 0.5065 MB / 421.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.2983, allocations: 94.44 kB / 421.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.2985, allocations: 120.4 kB / 422 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.3002, allocations: 1.048 MB / 423 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.3002, allocations: 8.109 kB / 423 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/0.3003, allocations: 43.94 kB / 423.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.3004, allocations: 24 kB / 423.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.3018, allocations: 0.812 MB / 423.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003945/0.3057, allocations: 3.064 MB / 427 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.3069, allocations: 0.7365 MB / 427.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/0.3074, allocations: 364.5 kB / 428.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-05/0.3075, allocations: 9 kB / 428.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007073/0.3082, allocations: 474 kB / 428.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.986e-06/0.3082, allocations: 0 / 428.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.001513/0.3097, allocations: 0.8826 MB / 429.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.3098, allocations: 106 kB / 429.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.3102, allocations: 341.7 kB / 429.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.609e-05/0.3103, allocations: 81.69 kB / 429.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.3105, allocations: 324.9 kB / 430.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.3107, allocations: 256.6 kB / 430.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/0.311, allocations: 298.9 kB / 430.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3112, allocations: 370.8 kB / 431.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005209/0.3117, allocations: 298.5 kB / 431.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006831/0.3124, allocations: 0.5343 MB / 432 MB, free: 11.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009864/0.3134, allocations: 0.7329 MB / 432.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3134, allocations: 0 / 432.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001433/0.3149, allocations: 0.9488 MB / 433.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3149, allocations: 12.81 kB / 433.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3149, allocations: 4 kB / 433.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.315, allocations: 20 kB / 433.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.3154, allocations: 111.7 kB / 433.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/0.3154, allocations: 19.92 kB / 433.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.3158, allocations: 114.9 kB / 433.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/0.3159, allocations: 44 kB / 434 MB, free: 8.934 MB / 350.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.0004435/0.3163, allocations: 364.8 kB / 434.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.3164, allocations: 55.28 kB / 434.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.3166, allocations: 69.36 kB / 434.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.3166, allocations: 3.984 kB / 434.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3166, allocations: 0 / 434.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/0.3167, allocations: 136.3 kB / 434.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.3168, allocations: 28 kB / 434.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.317, allocations: 31.97 kB / 434.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.3172, allocations: 108.9 kB / 434.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001295/0.3185, allocations: 0.8913 MB / 435.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001107/0.3196, allocations: 0.925 MB / 436.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005244/0.3202, allocations: 367.9 kB / 436.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.3203, allocations: 169.9 kB / 437.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of Backend: time 9.82e-07/0.3203, allocations: 0 / 437.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.3217, allocations: 0.6358 MB / 437.7 MB, free: 5.113 MB / 350.1 MB Notification: Performance of SimCode: time 0.002034/0.3238, allocations: 1.505 MB / 439.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of Templates: time 0.01568/0.3394, allocations: 8.153 MB / 447.4 MB, free: 11.45 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ShowCompositeStep.makefile (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ShowCompositeStep.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ShowCompositeStep.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.ShowCompositeStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ShowCompositeStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ShowCompositeStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ShowCompositeStep/ShowCompositeStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ShowCompositeStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches