Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 112.3 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 187.1 kB / 19.35 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 51.94 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07366/0.07488, allocations: 46.62 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowCompositeStep): time 0.0035/0.07842, allocations: 2.588 MB / 378.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.08014, allocations: 1.017 MB / 379.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.08034, allocations: 27.88 kB / 379.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.08061, allocations: 114.7 kB / 379.5 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.08091, allocations: 91.12 kB / 379.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008986/0.08182, allocations: 0.5538 MB / 380.2 MB, free: 204 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1572/0.239, allocations: 1.341 MB / 381.5 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.2404, allocations: 0.9074 MB / 382.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005861/0.241, allocations: 439.8 kB / 382.9 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004385/0.2415, allocations: 470.4 kB / 383.3 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.2417, allocations: 131.4 kB / 383.5 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.2419, allocations: 148.2 kB / 383.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.2421, allocations: 297.7 kB / 383.9 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.2425, allocations: 491.7 kB / 384.4 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.2437, allocations: 1.383 MB / 385.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2437, allocations: 3.938 kB / 385.8 MB, free: 8.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2437, allocations: 4 kB / 385.8 MB, free: 8.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.2438, allocations: 1 kB / 385.8 MB, free: 8.676 MB / 318.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.001514/0.2453, allocations: 1.174 MB / 386.9 MB, free: 7.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2453, allocations: 8.812 kB / 386.9 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.2455, allocations: 110.7 kB / 387.1 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/0.2461, allocations: 0.5015 MB / 387.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/0.2462, allocations: 99.25 kB / 387.6 MB, free: 7.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.2463, allocations: 117 kB / 387.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.248, allocations: 1.076 MB / 388.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.248, allocations: 2.031 kB / 388.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.041e-05/0.2481, allocations: 47.52 kB / 388.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.2481, allocations: 27.64 kB / 388.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.2495, allocations: 0.825 MB / 389.7 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.2529, allocations: 2.996 MB / 392.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.254, allocations: 0.7401 MB / 393.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.2546, allocations: 375.7 kB / 393.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.697e-05/0.2546, allocations: 14.44 kB / 393.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006465/0.2553, allocations: 442.3 kB / 394.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.575e-06/0.2553, allocations: 0 / 394.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.001578/0.2569, allocations: 0.952 MB / 395.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.2569, allocations: 74.02 kB / 395.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.2572, allocations: 360.5 kB / 395.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.694e-05/0.2573, allocations: 84.55 kB / 395.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.2575, allocations: 335.6 kB / 396.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.2577, allocations: 280.4 kB / 396.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.258, allocations: 300 kB / 396.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.2581, allocations: 369 kB / 397 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/0.2587, allocations: 319.4 kB / 397.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006513/0.2593, allocations: 0.5463 MB / 397.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009133/0.2603, allocations: 0.7377 MB / 398.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.2603, allocations: 2.375 kB / 398.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001404/0.2617, allocations: 0.9888 MB / 399.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2617, allocations: 6.875 kB / 399.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.2617, allocations: 8.438 kB / 399.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.2618, allocations: 12.38 kB / 399.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.2622, allocations: 124.1 kB / 399.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.2622, allocations: 15.69 kB / 399.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.2626, allocations: 117.1 kB / 399.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.757e-05/0.2627, allocations: 50.98 kB / 399.9 MB, free: 0.9688 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 133 ($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.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,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,$whenCondition9) * 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.0003454/0.263, allocations: 357 kB / 400.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.2631, allocations: 60.75 kB / 400.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.2643, allocations: 0.7851 MB / 401.1 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.2644, allocations: 5.672 kB / 401.1 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2644, allocations: 1.219 kB / 401.1 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.2644, allocations: 140 kB / 401.3 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.337e-05/0.2645, allocations: 17.62 kB / 401.3 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.2647, allocations: 33.12 kB / 401.3 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.265, allocations: 124.6 kB / 401.4 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001366/0.2663, allocations: 0.8484 MB / 402.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001216/0.2676, allocations: 0.9094 MB / 403.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005594/0.2681, allocations: 387.4 kB / 403.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.2683, allocations: 173.1 kB / 403.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.2683, allocations: 1.156 kB / 403.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.2696, allocations: 0.6686 MB / 404.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of SimCode: time 0.001772/0.2714, allocations: 1.551 MB / 406 MB, free: 13.62 MB / 334.1 MB Notification: Performance of Templates: time 0.01496/0.2863, allocations: 9.167 MB / 415.1 MB, free: 7.199 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.makefile (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.sim & ./Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/ShowCompositeStep/ShowCompositeStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches