Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.StateGraph.Examples.ExecutionPaths.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 0.9869/0.9869, allocations: 111.2 MB / 124.2 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.773e-05, allocations: 4 kB / 154.3 MB, free: 13.2 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1373, allocations: 25.15 MB / 179.4 MB, free: 0.8125 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05181/0.1892, allocations: 34.27 MB / 213.7 MB, free: 14.86 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.1894, allocations: 63.97 kB / 213.7 MB, free: 14.8 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04221/0.2316, allocations: 11.32 MB / 225.1 MB, free: 3.414 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.896e-06/0.2317, allocations: 4 kB / 225.1 MB, free: 3.41 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.811e-05/0.2317, allocations: 27.94 kB / 225.1 MB, free: 3.383 MB / 186.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.001722/0.2335, allocations: 0.8734 MB / 226 MB, free: 2.426 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.2335, allocations: 12.03 kB / 226 MB, free: 2.414 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.2338, allocations: 94.92 kB / 226.1 MB, free: 2.32 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008147/0.2346, allocations: 422 kB / 226.5 MB, free: 1.867 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.2347, allocations: 85.98 kB / 226.6 MB, free: 1.785 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.2349, allocations: 100 kB / 226.7 MB, free: 1.688 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.237, allocations: 0.9104 MB / 227.6 MB, free: 0.75 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.237, allocations: 0 / 227.6 MB, free: 0.75 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.2372, allocations: 47.98 kB / 227.6 MB, free: 0.7031 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.2372, allocations: 23.95 kB / 227.6 MB, free: 0.6797 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.239, allocations: 0.7067 MB / 228.4 MB, free: 15.97 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/0.2433, allocations: 2.302 MB / 230.7 MB, free: 13.59 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.2447, allocations: 0.6482 MB / 231.3 MB, free: 12.93 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/0.2454, allocations: 327.8 kB / 231.6 MB, free: 12.61 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-05/0.2455, allocations: 22.11 kB / 231.6 MB, free: 12.59 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008823/0.2464, allocations: 424.8 kB / 232.1 MB, free: 12.15 MB / 202.7 MB Notification: Performance of pre-optimization done (n=99): time 4.711e-06/0.2464, allocations: 0 / 232.1 MB, free: 12.15 MB / 202.7 MB Notification: Performance of matching and sorting (n=99): time 0.00146/0.2479, allocations: 0.5856 MB / 232.6 MB, free: 11.56 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/0.248, allocations: 105.8 kB / 232.7 MB, free: 11.44 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.2484, allocations: 296.3 kB / 233 MB, free: 11.14 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.2485, allocations: 65.7 kB / 233.1 MB, free: 11.07 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.2488, allocations: 347.5 kB / 233.4 MB, free: 10.73 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.2491, allocations: 248.9 kB / 233.7 MB, free: 10.48 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.115e-05/0.2492, allocations: 20 kB / 233.7 MB, free: 10.46 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.2494, allocations: 354.8 kB / 234.1 MB, free: 10.11 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/0.2501, allocations: 250.6 kB / 234.3 MB, free: 9.859 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008468/0.2509, allocations: 463.5 kB / 234.7 MB, free: 9.332 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/0.2516, allocations: 277 kB / 235 MB, free: 9.062 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.455e-06/0.2516, allocations: 4 kB / 235 MB, free: 9.059 MB / 202.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001941/0.2536, allocations: 0.836 MB / 235.9 MB, free: 8.215 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.2536, allocations: 9.562 kB / 235.9 MB, free: 8.207 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.2537, allocations: 4 kB / 235.9 MB, free: 8.203 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/0.2537, allocations: 12 kB / 235.9 MB, free: 8.191 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.2542, allocations: 111.7 kB / 236 MB, free: 8.082 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-05/0.2543, allocations: 19.92 kB / 236 MB, free: 8.062 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.2548, allocations: 68.27 kB / 236.1 MB, free: 7.996 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.2549, allocations: 55.92 kB / 236.1 MB, free: 7.941 MB / 202.7 MB Warning: Assuming fixed start value for the following 8 variables: transition6a.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4a.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition6.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition5.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition3.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition2.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition1.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real 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.0003852/0.2553, allocations: 246.2 kB / 236.4 MB, free: 7.691 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.2555, allocations: 51.42 kB / 236.4 MB, free: 7.641 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.2571, allocations: 0.7338 MB / 237.2 MB, free: 6.898 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.2572, allocations: 12 kB / 237.2 MB, free: 6.887 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.261e-06/0.2572, allocations: 0 / 237.2 MB, free: 6.887 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.2572, allocations: 3.984 kB / 237.2 MB, free: 6.883 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003629/0.2609, allocations: 1.651 MB / 238.8 MB, free: 5.18 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.094e-06/0.2609, allocations: 0 / 238.8 MB, free: 5.18 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.2613, allocations: 71.78 kB / 238.9 MB, free: 5.109 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.2613, allocations: 7.938 kB / 238.9 MB, free: 5.102 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.437e-05/0.2614, allocations: 23.98 kB / 238.9 MB, free: 5.078 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.884e-06/0.2614, allocations: 4 kB / 238.9 MB, free: 5.074 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.356e-06/0.2614, allocations: 0 / 238.9 MB, free: 5.074 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.2629, allocations: 0.7873 MB / 239.7 MB, free: 4.258 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.2631, allocations: 128.4 kB / 239.8 MB, free: 4.113 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.265e-05/0.2632, allocations: 20 kB / 239.9 MB, free: 4.094 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.2635, allocations: 43.97 kB / 239.9 MB, free: 4.051 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.2638, allocations: 108.8 kB / 240 MB, free: 3.945 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.44e-05/0.2639, allocations: 36 kB / 240 MB, free: 3.91 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001987/0.2641, allocations: 153.4 kB / 240.2 MB, free: 3.762 MB / 202.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.2641, allocations: 0 / 240.2 MB, free: 3.762 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007981/0.2649, allocations: 167.9 kB / 240.4 MB, free: 3.598 MB / 202.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.0002873/0.2652, allocations: 167 kB / 240.5 MB, free: 3.426 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.2668, allocations: 0.725 MB / 241.2 MB, free: 2.707 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.569e-06/0.2668, allocations: 0 / 241.2 MB, free: 2.707 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007442/0.2676, allocations: 367.2 kB / 241.6 MB, free: 2.348 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.2681, allocations: 80.33 kB / 241.7 MB, free: 2.27 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.2703, allocations: 0.9182 MB / 242.6 MB, free: 1.32 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007619/0.2711, allocations: 0.9508 MB / 243.6 MB, free: 344 kB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.2714, allocations: 71.42 kB / 243.6 MB, free: 272 kB / 202.7 MB Notification: Performance of SimCode: time 1.953e-06/0.2714, allocations: 0 / 243.6 MB, free: 272 kB / 202.7 MB Notification: Performance of Templates: time 0.1313/0.4027, allocations: 8.69 MB / 252.3 MB, free: 49.84 MB / 202.7 MB