Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.StateGraph.Examples.ShowCompositeStep.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadModel(Modelica): time 1.574/1.574, allocations: 171.2 MB / 184.2 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.302e-05/2.31e-05, allocations: 0 / 228.8 MB, free: 15.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2036, allocations: 38.77 MB / 267.6 MB, free: 9.449 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09926/0.3029, allocations: 67.11 MB / 334.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.3031, allocations: 63.97 kB / 334.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04905/0.3522, allocations: 13.49 MB / 348.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.868e-06/0.3523, allocations: 0 / 348.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.585e-05/0.3523, allocations: 27.94 kB / 348.3 MB, free: 8.574 MB / 298.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.001859/0.3542, allocations: 0.9349 MB / 349.2 MB, free: 7.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3542, allocations: 8.031 kB / 349.2 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.3545, allocations: 98.97 kB / 349.3 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009404/0.3554, allocations: 497.7 kB / 349.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.3556, allocations: 90 kB / 349.9 MB, free: 6.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.3558, allocations: 112 kB / 350 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.3582, allocations: 1.016 MB / 351 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.3582, allocations: 0 / 351 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.3584, allocations: 51.98 kB / 351.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.3584, allocations: 24 kB / 351.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.3604, allocations: 0.8044 MB / 351.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005413/0.3659, allocations: 2.898 MB / 354.8 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.3675, allocations: 0.7216 MB / 355.5 MB, free: 1.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007678/0.3683, allocations: 363.1 kB / 355.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.725e-05/0.3684, allocations: 16.77 kB / 355.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009439/0.3693, allocations: 424.9 kB / 356.3 MB, free: 280 kB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 5.499e-06/0.3694, allocations: 0 / 356.3 MB, free: 280 kB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.1777/0.5471, allocations: 0.6668 MB / 357 MB, free: 75.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.5472, allocations: 75.61 kB / 357 MB, free: 75.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.5477, allocations: 318.2 kB / 357.3 MB, free: 75.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.5479, allocations: 77.95 kB / 357.4 MB, free: 75.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.5481, allocations: 378.6 kB / 357.8 MB, free: 74.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.5484, allocations: 256.7 kB / 358 MB, free: 74.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.5485, allocations: 24.72 kB / 358.1 MB, free: 74.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.5486, allocations: 363.6 kB / 358.4 MB, free: 74.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008451/0.5494, allocations: 308.5 kB / 358.7 MB, free: 74.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000875/0.5503, allocations: 0.5199 MB / 359.2 MB, free: 74.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007384/0.5511, allocations: 318.5 kB / 359.5 MB, free: 74.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.312e-06/0.5511, allocations: 2.531 kB / 359.5 MB, free: 74.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001944/0.5531, allocations: 0.9425 MB / 360.5 MB, free: 74.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.5531, allocations: 9.75 kB / 360.5 MB, free: 74.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.5531, allocations: 8.297 kB / 360.5 MB, free: 74.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/0.5532, allocations: 11.53 kB / 360.5 MB, free: 74.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.5537, allocations: 131.2 kB / 360.6 MB, free: 74.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.553e-05/0.5537, allocations: 18.91 kB / 360.7 MB, free: 74.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.5542, allocations: 73.42 kB / 360.7 MB, free: 74.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.5543, allocations: 52.36 kB / 360.8 MB, free: 74.05 MB / 298.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 () * 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.0002624/0.5546, allocations: 241.8 kB / 361 MB, free: 73.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5547, allocations: 58.92 kB / 361.1 MB, free: 73.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.5564, allocations: 0.7669 MB / 361.9 MB, free: 73.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.5564, allocations: 7.594 kB / 361.9 MB, free: 73.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.5564, allocations: 3.375 kB / 361.9 MB, free: 73.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.5565, allocations: 7.781 kB / 361.9 MB, free: 73.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/0.56, allocations: 1.812 MB / 363.7 MB, free: 73.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.167e-06/0.56, allocations: 3.938 kB / 363.7 MB, free: 73.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.5604, allocations: 68.47 kB / 363.8 MB, free: 73.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.5604, allocations: 4.031 kB / 363.8 MB, free: 73.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.354e-05/0.5605, allocations: 30.28 kB / 363.8 MB, free: 73.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.407e-06/0.5605, allocations: 6.281 kB / 363.8 MB, free: 73.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.147e-06/0.5605, allocations: 0 / 363.8 MB, free: 73.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.5618, allocations: 0.794 MB / 364.6 MB, free: 73.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.5619, allocations: 126.3 kB / 364.7 MB, free: 73.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.396e-05/0.562, allocations: 23.95 kB / 364.7 MB, free: 73.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.5623, allocations: 43.22 kB / 364.8 MB, free: 73.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/0.5626, allocations: 133.4 kB / 364.9 MB, free: 73.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.658e-05/0.5627, allocations: 35.59 kB / 364.9 MB, free: 73.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001539/0.5629, allocations: 168.5 kB / 365.1 MB, free: 73.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.5629, allocations: 0 / 365.1 MB, free: 73.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007954/0.5637, allocations: 180.5 kB / 365.3 MB, free: 73.04 MB / 298.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) * 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.0002236/0.564, allocations: 178.8 kB / 365.5 MB, free: 72.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.5655, allocations: 0.822 MB / 366.3 MB, free: 72.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5655, allocations: 2.438 kB / 366.3 MB, free: 72.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006515/0.5661, allocations: 386.4 kB / 366.7 MB, free: 72.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.5666, allocations: 72.75 kB / 366.7 MB, free: 72.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.569, allocations: 1.092 MB / 367.8 MB, free: 72.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.5695, allocations: 0.9649 MB / 368.8 MB, free: 71.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.5699, allocations: 79.62 kB / 368.9 MB, free: 71.3 MB / 298.7 MB Notification: Performance of SimCode: time 1.753e-06/0.5699, allocations: 0 / 368.9 MB, free: 71.3 MB / 298.7 MB Notification: Performance of Templates: time 0.01515/0.585, allocations: 9.762 MB / 378.6 MB, free: 65.46 MB / 298.7 MB