Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.StateGraph.Examples.ShowCompositeStep.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadModel(Modelica): time 1.752/1.752, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003679, allocations: 12 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07794/0.07833, allocations: 44.51 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3423/0.4207, allocations: 72.49 MB / 380.9 MB, free: 18.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.421, allocations: 77.34 kB / 381 MB, free: 18.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04371/0.4647, allocations: 13.53 MB / 394.5 MB, free: 17.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.619e-06/0.4647, allocations: 0 / 394.5 MB, free: 17.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.044e-05/0.4648, allocations: 27.31 kB / 394.6 MB, free: 17.74 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001626/0.4664, allocations: 0.9417 MB / 395.5 MB, free: 17.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.4665, allocations: 15.66 kB / 395.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.4667, allocations: 97.53 kB / 395.6 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007688/0.4675, allocations: 498.6 kB / 396.1 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.4676, allocations: 94.06 kB / 396.2 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.4678, allocations: 109.3 kB / 396.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.47, allocations: 1.031 MB / 397.3 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.47, allocations: 11.81 kB / 397.3 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.4702, allocations: 40.28 kB / 397.4 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.4702, allocations: 23.34 kB / 397.4 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.4721, allocations: 0.8309 MB / 398.2 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004518/0.4767, allocations: 2.91 MB / 401.1 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.4782, allocations: 0.7209 MB / 401.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/0.4783, allocations: 19.56 kB / 401.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008506/0.4791, allocations: 431.3 kB / 402.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 4.681e-06/0.4792, allocations: 0 / 402.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.002239/0.4814, allocations: 0.9465 MB / 403.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.4815, allocations: 74.33 kB / 403.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.4819, allocations: 317.1 kB / 403.6 MB, free: 15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.482, allocations: 79 kB / 403.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.4822, allocations: 375.5 kB / 404.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.4825, allocations: 255.2 kB / 404.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.4825, allocations: 26.12 kB / 404.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.4827, allocations: 364.5 kB / 404.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007621/0.4834, allocations: 310.7 kB / 405 MB, free: 14.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008858/0.4843, allocations: 0.5327 MB / 405.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007513/0.4851, allocations: 327.8 kB / 405.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.287e-06/0.4851, allocations: 0 / 405.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002022/0.4872, allocations: 0.9588 MB / 406.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.4872, allocations: 11.88 kB / 406.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.4872, allocations: 7.75 kB / 406.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.4873, allocations: 11.62 kB / 406.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.4878, allocations: 124.2 kB / 407 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.4878, allocations: 15.56 kB / 407 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.4883, allocations: 80.03 kB / 407.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.4884, allocations: 58.23 kB / 407.1 MB, free: 13.58 MB / 314.7 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.resume[1].set,compositeStep.suspend[1].reset,compositeStep.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,$PRE.compositeStep.newActive,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.enableFire,compositeStep.transition3.fire,$PRE.compositeStep.transition3.t_start,compositeStep.transition3.t_start,compositeStep.transition4.enableFire,compositeStep.transition4.fire,$PRE.compositeStep.transition4.t_start,compositeStep.transition4.t_start,$PRE.compositeStep.step3.localActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.oldActive,compositeStep.step3.active,$PRE.compositeStep.step4.localActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.enableFire,compositeStep.transition5.fire,$PRE.compositeStep.transition5.t_start,compositeStep.transition5.t_start,compositeStep.transition6.enableFire,compositeStep.transition6.fire,$PRE.compositeStep.transition6.t_start,compositeStep.transition6.t_start,compositeStep.transition4a.enableFire,compositeStep.transition4a.fire,$PRE.compositeStep.transition4a.t_start,compositeStep.transition4a.t_start,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.enableFire,compositeStep.transition6a.fire,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.t_start,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.localActive,compositeStep.initStep.outPort[1].reset,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.localActive,compositeStep.exitStep.inPort[1].set,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps,compositeStep.stateGraphRoot.resume,compositeStep.stateGraphRoot.suspend) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000567/0.489, allocations: 357.9 kB / 407.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.4891, allocations: 58.02 kB / 407.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.4908, allocations: 0.7753 MB / 408.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4908, allocations: 15.75 kB / 408.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.469e-06/0.4908, allocations: 0 / 408.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.4908, allocations: 3.984 kB / 408.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/0.4944, allocations: 1.815 MB / 410.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.042e-06/0.4944, allocations: 3.953 kB / 410.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.4947, allocations: 77.7 kB / 410.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.4948, allocations: 11.83 kB / 410.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/0.4948, allocations: 22.3 kB / 410.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.4949, allocations: 0 / 410.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.159e-06/0.4949, allocations: 3.812 kB / 410.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.4964, allocations: 0.8154 MB / 411.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/0.4965, allocations: 127.6 kB / 411.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.4966, allocations: 25.98 kB / 411.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.4969, allocations: 46.53 kB / 411.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/0.4973, allocations: 129.9 kB / 411.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-05/0.4973, allocations: 34.58 kB / 411.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.4975, allocations: 166.7 kB / 411.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.36e-06/0.4975, allocations: 0 / 411.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008212/0.4984, allocations: 181.5 kB / 411.8 MB, free: 11.91 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 80 (compositeStep.transition4a.enableFire,compositeStep.transition4.enableFire,step6.localActive,transition2.enableFire,transition1.enableFire,step1.localActive,step0.localActive,compositeStep.exitStep.localActive,compositeStep.transition5.enableFire,compositeStep.transition6.enableFire,compositeStep.transition6a.enableFire,compositeStep.initStep.localActive,compositeStep.transition3.enableFire,compositeStep.step4a.localActive,compositeStep.step4.localActive,compositeStep.step3.localActive,$cse1,$cse2,$cse3,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.fire,compositeStep.transition3.t_start,compositeStep.transition4.fire,compositeStep.transition4.t_start,compositeStep.step3.newActive,compositeStep.step3.oldActive,compositeStep.step3.active,compositeStep.step4.newActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.fire,compositeStep.transition5.t_start,compositeStep.transition6.fire,compositeStep.transition6.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.t_start,compositeStep.step4a.newActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.fire,compositeStep.transition6a.t_start,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.newActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.newActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps) * Number of discrete states: 9 (compositeStep.step3.newActive,compositeStep.step4.newActive,compositeStep.step4a.newActive,compositeStep.initStep.newActive,compositeStep.exitStep.newActive,compositeStep.newActive,step0.newActive,step1.newActive,step6.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002434/0.4986, allocations: 176.6 kB / 411.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.5002, allocations: 0.8357 MB / 412.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.993e-06/0.5002, allocations: 0 / 412.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006944/0.5009, allocations: 408.1 kB / 413.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.5014, allocations: 60.97 kB / 413.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.5044, allocations: 1.58 MB / 414.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.5049, allocations: 0.9628 MB / 415.8 MB, free: 9.898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/0.5053, allocations: 80.8 kB / 415.9 MB, free: 9.879 MB / 314.7 MB Notification: Performance of SimCode: time 2.03e-06/0.5053, allocations: 4 kB / 415.9 MB, free: 9.875 MB / 314.7 MB Notification: Performance of Templates: time 0.01522/0.5205, allocations: 9.766 MB / 425.6 MB, free: 4.957 MB / 314.7 MB