Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths.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.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_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.851/1.851, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009229/0.0009236, allocations: 8 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09135, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3795/0.4709, allocations: 66.75 MB / 339.4 MB, free: 6.617 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.4712, allocations: 75.91 kB / 339.4 MB, free: 6.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04867/0.5199, allocations: 11.44 MB / 350.9 MB, free: 12.7 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.52, allocations: 0 / 350.9 MB, free: 12.7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.921e-05/0.52, allocations: 32.14 kB / 350.9 MB, free: 12.66 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.002277/0.5223, allocations: 0.9098 MB / 351.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5224, allocations: 12.03 kB / 351.8 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.5227, allocations: 90.97 kB / 351.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009323/0.5236, allocations: 433.8 kB / 352.4 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.5238, allocations: 79.88 kB / 352.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.524, allocations: 114.5 kB / 352.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.5265, allocations: 0.9222 MB / 353.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.5265, allocations: 4 kB / 353.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.5267, allocations: 39.42 kB / 353.5 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.5267, allocations: 27.94 kB / 353.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.5289, allocations: 0.7211 MB / 354.3 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005221/0.5342, allocations: 2.343 MB / 356.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.5358, allocations: 0.6723 MB / 357.3 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.5359, allocations: 13 kB / 357.3 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.537, allocations: 434.4 kB / 357.7 MB, free: 7.238 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 4.408e-06/0.537, allocations: 0 / 357.7 MB, free: 7.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=99): time 0.002386/0.5394, allocations: 0.83 MB / 358.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.5395, allocations: 105.6 kB / 358.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.54, allocations: 324.5 kB / 359 MB, free: 6.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001597/0.5402, allocations: 78.25 kB / 359 MB, free: 6.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.5405, allocations: 289.8 kB / 359.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000307/0.5408, allocations: 240.5 kB / 359.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.5409, allocations: 24.38 kB / 359.6 MB, free: 5.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.5411, allocations: 368 kB / 359.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007764/0.5419, allocations: 262.4 kB / 360.2 MB, free: 5.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.5429, allocations: 480.7 kB / 360.7 MB, free: 4.797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000811/0.5437, allocations: 274 kB / 360.9 MB, free: 4.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.5438, allocations: 4 kB / 360.9 MB, free: 4.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00223/0.546, allocations: 0.8595 MB / 361.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.5461, allocations: 6.031 kB / 361.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.5461, allocations: 12 kB / 361.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.851e-05/0.5462, allocations: 12 kB / 361.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.5469, allocations: 118.9 kB / 361.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.989e-05/0.5469, allocations: 12 kB / 361.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.5476, allocations: 76.42 kB / 362 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.5477, allocations: 49.92 kB / 362.1 MB, free: 3.754 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 () * 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.0006544/0.5484, allocations: 302.5 kB / 362.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.5486, allocations: 55.31 kB / 362.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/0.5506, allocations: 0.74 MB / 363.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.5506, allocations: 12 kB / 363.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.5506, allocations: 0 / 363.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.5507, allocations: 7.984 kB / 363.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/0.5549, allocations: 1.671 MB / 364.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.555, allocations: 4 kB / 364.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.5555, allocations: 71.47 kB / 364.9 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-05/0.5555, allocations: 7.984 kB / 364.9 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-05/0.5556, allocations: 19.25 kB / 365 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.5556, allocations: 4 kB / 365 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.5556, allocations: 3.984 kB / 365 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.5573, allocations: 0.7895 MB / 365.7 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.5575, allocations: 124.5 kB / 365.9 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.5576, allocations: 22.88 kB / 365.9 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.558, allocations: 39.72 kB / 365.9 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/0.5584, allocations: 104.1 kB / 366 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.803e-05/0.5585, allocations: 31.69 kB / 366.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001968/0.5587, allocations: 151.7 kB / 366.2 MB, free: 476 kB / 282.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5587, allocations: 4 kB / 366.2 MB, free: 472 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009299/0.5596, allocations: 174.3 kB / 366.4 MB, free: 332 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) * 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.000315/0.56, allocations: 164.9 kB / 366.5 MB, free: 176 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.5619, allocations: 0.7402 MB / 367.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5619, allocations: 0 / 367.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009003/0.5628, allocations: 379.4 kB / 367.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.5634, allocations: 76.56 kB / 367.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.5665, allocations: 1.404 MB / 369.1 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.5673, allocations: 0.9618 MB / 370.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000634/0.5679, allocations: 101.9 kB / 370.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/0.5683, allocations: 70.53 kB / 370.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5683, allocations: 0 / 370.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of Templates: time 0.02264/0.591, allocations: 6.602 MB / 376.9 MB, free: 6.273 MB / 298.7 MB