Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadModel(Modelica): time 1.97/1.97, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003929, allocations: 8 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 38.76 MB / 272.6 MB, free: 11.56 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.5074, allocations: 67.19 MB / 339.8 MB, free: 6.285 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5077, allocations: 71.59 kB / 339.9 MB, free: 6.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05366/0.5614, allocations: 13.55 MB / 353.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5615, allocations: 0 / 353.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.165e-05/0.5615, allocations: 27.94 kB / 353.4 MB, free: 10.79 MB / 282.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.002239/0.5638, allocations: 0.9455 MB / 354.4 MB, free: 9.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5638, allocations: 12.03 kB / 354.4 MB, free: 9.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002738/0.5641, allocations: 90.97 kB / 354.5 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.5652, allocations: 0.4902 MB / 355 MB, free: 9.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.5654, allocations: 88.94 kB / 355.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/0.5656, allocations: 120.5 kB / 355.2 MB, free: 9.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.5684, allocations: 1.035 MB / 356.2 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.5684, allocations: 0 / 356.2 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.5686, allocations: 38.06 kB / 356.2 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/0.5686, allocations: 24 kB / 356.3 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.571, allocations: 0.8341 MB / 357.1 MB, free: 7.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005922/0.577, allocations: 2.909 MB / 360 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.5789, allocations: 0.7392 MB / 360.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.373e-05/0.579, allocations: 9 kB / 360.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.5801, allocations: 432.2 kB / 361.2 MB, free: 4.816 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 4.949e-06/0.5801, allocations: 0 / 361.2 MB, free: 4.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.002704/0.5828, allocations: 0.948 MB / 362.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.5829, allocations: 78.84 kB / 362.2 MB, free: 4.059 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.5835, allocations: 346.4 kB / 362.5 MB, free: 3.777 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001739/0.5837, allocations: 81.44 kB / 362.6 MB, free: 3.723 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.584, allocations: 314.3 kB / 362.9 MB, free: 3.461 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.5844, allocations: 252.4 kB / 363.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.5845, allocations: 23.5 kB / 363.2 MB, free: 3.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.5847, allocations: 370.3 kB / 363.6 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009068/0.5856, allocations: 315.5 kB / 363.9 MB, free: 2.707 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.5868, allocations: 0.5385 MB / 364.4 MB, free: 2.223 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/0.5877, allocations: 315.3 kB / 364.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.5877, allocations: 4 kB / 364.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002538/0.5903, allocations: 0.9743 MB / 365.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.5903, allocations: 8.625 kB / 365.7 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.5904, allocations: 4 kB / 365.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.985e-05/0.5904, allocations: 16 kB / 365.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/0.5911, allocations: 125.5 kB / 365.8 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.994e-05/0.5912, allocations: 16.53 kB / 365.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/0.5918, allocations: 74.09 kB / 365.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.5919, allocations: 58.86 kB / 366 MB, free: 1.078 MB / 282.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.0007308/0.5927, allocations: 355.8 kB / 366.3 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.5928, allocations: 59.28 kB / 366.4 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.5949, allocations: 0.781 MB / 367.2 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.5949, allocations: 12 kB / 367.2 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5949, allocations: 0 / 367.2 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.595, allocations: 3.984 kB / 367.2 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004461/0.5994, allocations: 1.817 MB / 369 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.5995, allocations: 0 / 369 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.6, allocations: 71.83 kB / 369.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.6, allocations: 7.938 kB / 369.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.456e-05/0.6001, allocations: 27.94 kB / 369.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.6001, allocations: 7.938 kB / 369.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.6002, allocations: 0 / 369.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.602, allocations: 0.8122 MB / 369.9 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.6022, allocations: 132.3 kB / 370.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.6023, allocations: 20 kB / 370.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.6028, allocations: 43.92 kB / 370.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004057/0.6032, allocations: 136.8 kB / 370.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.986e-05/0.6033, allocations: 35.98 kB / 370.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002321/0.6035, allocations: 170 kB / 370.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6035, allocations: 0 / 370.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009481/0.6045, allocations: 179.9 kB / 370.6 MB, free: 13 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) * 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.0003412/0.6049, allocations: 175.2 kB / 370.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002238/0.6071, allocations: 0.8304 MB / 371.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6071, allocations: 0 / 371.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.6082, allocations: 409.5 kB / 372 MB, free: 11.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.6089, allocations: 73.94 kB / 372.1 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.6132, allocations: 1.582 MB / 373.7 MB, free: 9.898 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/0.6141, allocations: 0.9706 MB / 374.7 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007488/0.6148, allocations: 118.2 kB / 374.8 MB, free: 8.785 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/0.6153, allocations: 79.39 kB / 374.9 MB, free: 8.707 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6153, allocations: 4 kB / 374.9 MB, free: 8.703 MB / 298.7 MB Notification: Performance of Templates: time 0.02538/0.6407, allocations: 7.459 MB / 382.3 MB, free: 1.266 MB / 298.7 MB