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.ExecutionPaths.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.792/1.792, allocations: 171.3 MB / 179.2 MB, free: 8.184 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.4e-05/2.411e-05, allocations: 7.938 kB / 222.5 MB, free: 8.801 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08386/0.0839, allocations: 38.76 MB / 261.3 MB, free: 1.957 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3227/0.4066, allocations: 66.03 MB / 327.3 MB, free: 6.23 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.4069, allocations: 66.03 kB / 327.4 MB, free: 6.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04278/0.4497, allocations: 11.13 MB / 338.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4497, allocations: 0 / 338.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.265e-05/0.4498, allocations: 20 kB / 338.5 MB, free: 12.74 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.001823/0.4516, allocations: 0.889 MB / 339.4 MB, free: 11.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4517, allocations: 8.031 kB / 339.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.452, allocations: 90.97 kB / 339.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/0.4528, allocations: 429.6 kB / 339.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/0.4529, allocations: 34.81 kB / 339.9 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.4531, allocations: 67.98 kB / 340 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001633/0.4547, allocations: 0.657 MB / 340.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.4565, allocations: 0.782 MB / 341.4 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.4565, allocations: 3.938 kB / 341.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-05/0.4566, allocations: 3.984 kB / 341.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.4567, allocations: 24 kB / 341.5 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004059/0.4608, allocations: 2.176 MB / 343.7 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.4619, allocations: 0.603 MB / 344.3 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/0.4625, allocations: 299.7 kB / 344.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.18e-05/0.4626, allocations: 18.11 kB / 344.6 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009254/0.4635, allocations: 398.1 kB / 345 MB, free: 7.508 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 4.391e-06/0.4636, allocations: 0 / 345 MB, free: 7.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=99): time 0.001437/0.465, allocations: 0.5361 MB / 345.5 MB, free: 7.082 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.4651, allocations: 111 kB / 345.6 MB, free: 6.957 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.4656, allocations: 283.7 kB / 345.9 MB, free: 6.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.4657, allocations: 52.69 kB / 345.9 MB, free: 6.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.466, allocations: 344.5 kB / 346.3 MB, free: 6.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.4663, allocations: 235.5 kB / 346.5 MB, free: 6.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.4664, allocations: 0 / 346.5 MB, free: 6.188 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.4666, allocations: 360.2 kB / 346.8 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005632/0.4672, allocations: 230.9 kB / 347.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007669/0.4679, allocations: 436.4 kB / 347.5 MB, free: 5.242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/0.4686, allocations: 242.2 kB / 347.7 MB, free: 5.012 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.626e-06/0.4686, allocations: 4 kB / 347.7 MB, free: 5.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00177/0.4704, allocations: 0.7312 MB / 348.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4705, allocations: 4 kB / 348.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.4705, allocations: 8 kB / 348.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.395e-05/0.4705, allocations: 12 kB / 348.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.4711, allocations: 115.6 kB / 348.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.558e-05/0.4711, allocations: 12 kB / 348.6 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.4716, allocations: 43.75 kB / 348.7 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.4717, allocations: 55.98 kB / 348.7 MB, free: 4.023 MB / 282.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 () * 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.0002878/0.472, allocations: 182.4 kB / 348.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.4722, allocations: 47.44 kB / 348.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.474, allocations: 0.675 MB / 349.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.4741, allocations: 15.98 kB / 349.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.999e-06/0.4741, allocations: 0 / 349.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.4741, allocations: 3.984 kB / 349.6 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/0.4778, allocations: 1.475 MB / 351.1 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4778, allocations: 4 kB / 351.1 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.4782, allocations: 71.77 kB / 351.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.4782, allocations: 4 kB / 351.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.4783, allocations: 11.98 kB / 351.2 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.303e-06/0.4783, allocations: 7.938 kB / 351.2 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.6e-06/0.4783, allocations: 0 / 351.2 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.4799, allocations: 0.7341 MB / 351.9 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.4801, allocations: 128.3 kB / 352.1 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.4802, allocations: 11.98 kB / 352.1 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.4805, allocations: 23.97 kB / 352.1 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.4808, allocations: 109.1 kB / 352.2 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.682e-05/0.4809, allocations: 35.98 kB / 352.2 MB, free: 396 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001671/0.4811, allocations: 144.5 kB / 352.4 MB, free: 256 kB / 282.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.4811, allocations: 3.938 kB / 352.4 MB, free: 252 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007923/0.4819, allocations: 120 kB / 352.5 MB, free: 132 kB / 282.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) * 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.0002982/0.4822, allocations: 151 kB / 352.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.4837, allocations: 0.6697 MB / 353.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.933e-06/0.4837, allocations: 0 / 353.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.4844, allocations: 344.9 kB / 353.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.4849, allocations: 61.89 kB / 353.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.487, allocations: 0.8741 MB / 354.6 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007591/0.4878, allocations: 0.9466 MB / 355.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.4881, allocations: 71.42 kB / 355.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of SimCode: time 1.848e-06/0.4881, allocations: 0 / 355.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of Templates: time 0.01689/0.505, allocations: 8.643 MB / 364.3 MB, free: 4.293 MB / 298.7 MB