Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.StateGraph.Examples.ExecutionPaths.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire|transition3.enableFire|transition4.enableFire|transition4a.enableFire|transition5.enableFire|transition6.enableFire|transition6a.enableFire|transition7.enableFire",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 2.084/2.084, allocations: 194.8 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.000359, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 44.5 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.5631, allocations: 72.06 MB / 381 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5634, allocations: 72.81 kB / 381.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05842/0.6219, allocations: 11.44 MB / 392.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.6219, allocations: 0 / 392.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.423e-05/0.622, allocations: 27.31 kB / 392.6 MB, free: 13.82 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.002555/0.6246, allocations: 0.896 MB / 393.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.6246, allocations: 15.75 kB / 393.5 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/0.625, allocations: 91.39 kB / 393.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.6262, allocations: 438.5 kB / 394 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.6264, allocations: 88.19 kB / 394.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/0.6267, allocations: 108.4 kB / 394.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/0.63, allocations: 0.9365 MB / 395.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.886e-05/0.6301, allocations: 4 kB / 395.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.6303, allocations: 35.22 kB / 395.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.6303, allocations: 23.41 kB / 395.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/0.6331, allocations: 0.7225 MB / 395.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006197/0.6393, allocations: 2.341 MB / 398.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.6414, allocations: 0.6721 MB / 398.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.6416, allocations: 15.36 kB / 398.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.6429, allocations: 447.7 kB / 399.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 5.53e-06/0.643, allocations: 0 / 399.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=99): time 0.002921/0.6459, allocations: 0.8302 MB / 400.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.646, allocations: 99.95 kB / 400.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.6465, allocations: 316.7 kB / 400.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.6467, allocations: 80.73 kB / 400.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.6469, allocations: 348.7 kB / 401 MB, free: 11.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/0.6472, allocations: 241.3 kB / 401.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.675e-05/0.6473, allocations: 25.56 kB / 401.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.6474, allocations: 357.7 kB / 401.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007774/0.6482, allocations: 262.3 kB / 401.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008396/0.649, allocations: 489.4 kB / 402.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007279/0.6498, allocations: 274.2 kB / 402.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.6498, allocations: 0 / 402.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001909/0.6517, allocations: 0.8524 MB / 403.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.6518, allocations: 7.656 kB / 403.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.6518, allocations: 14.72 kB / 403.5 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.449e-05/0.6518, allocations: 11.66 kB / 403.5 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006996/0.6525, allocations: 115.5 kB / 403.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/0.6526, allocations: 11.62 kB / 403.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/0.6532, allocations: 76.31 kB / 403.7 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.6533, allocations: 44.28 kB / 403.8 MB, free: 10.31 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.transition6.enableFire,$PRE.transition7.enableFire,$PRE.transition4a.enableFire,$PRE.transition6a.enableFire,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,step2.active,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step3.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,step4.active,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,step4a.active,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition6a.condition,transition4a.condition,transition6.condition,transition5.condition,transition4.condition,transition3.condition,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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.0006074/0.6539, allocations: 309.8 kB / 404.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.6541, allocations: 50.73 kB / 404.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.6559, allocations: 0.7418 MB / 404.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.6559, allocations: 19.7 kB / 404.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.6559, allocations: 0 / 404.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.656, allocations: 3.984 kB / 404.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/0.6598, allocations: 1.665 MB / 406.5 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.6599, allocations: 4 kB / 406.5 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.6604, allocations: 64.28 kB / 406.6 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/0.6604, allocations: 5.125 kB / 406.6 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/0.6605, allocations: 22.86 kB / 406.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.6605, allocations: 7.906 kB / 406.6 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6605, allocations: 5.297 kB / 406.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.6621, allocations: 0.7789 MB / 407.4 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.6622, allocations: 135.9 kB / 407.6 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.6623, allocations: 17.19 kB / 407.6 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.6627, allocations: 40.84 kB / 407.6 MB, free: 8.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.663, allocations: 107.8 kB / 407.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.344e-05/0.6631, allocations: 35.11 kB / 407.8 MB, free: 8.789 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.6633, allocations: 157.7 kB / 407.9 MB, free: 8.699 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6633, allocations: 4 kB / 407.9 MB, free: 8.695 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000876/0.6642, allocations: 167.8 kB / 408.1 MB, free: 8.688 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 84 (transition4a.enableFire,transition4.enableFire,transition6a.enableFire,step4a.localActive,transition2.enableFire,step5.localActive,transition5.enableFire,transition6.enableFire,step4.localActive,step3.localActive,transition3.enableFire,transition1.enableFire,step2.localActive,step6.localActive,step1.localActive,step0.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,step2.outPort[1].reset,step2.newActive,step2.oldActive,step2.active,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.newActive,step3.oldActive,step3.active,step4.newActive,step4.oldActive,step4.active,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.inPort[1].set,step5.newActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.fire,transition4a.t_start,step4a.newActive,step4a.oldActive,step4a.active,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 8 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * 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.0002673/0.6645, allocations: 162 kB / 408.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.6662, allocations: 0.7423 MB / 409 MB, free: 8.449 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.6663, allocations: 0 / 409 MB, free: 8.449 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007968/0.6671, allocations: 374.8 kB / 409.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.6677, allocations: 73.56 kB / 409.4 MB, free: 8.371 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.6704, allocations: 1.407 MB / 410.8 MB, free: 7.559 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.6709, allocations: 0.9526 MB / 411.8 MB, free: 6.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/0.6713, allocations: 72.66 kB / 411.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6713, allocations: 0 / 411.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of Templates: time 0.01791/0.6893, allocations: 8.694 MB / 420.5 MB, free: 2.328 MB / 314.7 MB