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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.553/1.553, allocations: 171.2 MB / 184.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.385e-05/2.395e-05, allocations: 4 kB / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2004, allocations: 38.77 MB / 267.6 MB, free: 9.441 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09733/0.2977, allocations: 66.68 MB / 334.3 MB, free: 6.664 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.298, allocations: 71.97 kB / 334.3 MB, free: 6.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04254/0.3406, allocations: 11.41 MB / 345.7 MB, free: 11.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.253e-06/0.3406, allocations: 0 / 345.7 MB, free: 11.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.931e-05/0.3407, allocations: 27.94 kB / 345.8 MB, free: 11.07 MB / 298.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.001677/0.3424, allocations: 0.8769 MB / 346.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3424, allocations: 15.97 kB / 346.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.3426, allocations: 86.97 kB / 346.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000806/0.3435, allocations: 425.9 kB / 347.2 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.3436, allocations: 89.98 kB / 347.2 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.3438, allocations: 108 kB / 347.4 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.3458, allocations: 0.9104 MB / 348.3 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.3458, allocations: 0 / 348.3 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.3459, allocations: 39.98 kB / 348.3 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.346, allocations: 24 kB / 348.3 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.3477, allocations: 0.7067 MB / 349 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004232/0.3519, allocations: 2.349 MB / 351.4 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.3533, allocations: 0.6574 MB / 352 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000661/0.354, allocations: 331.8 kB / 352.4 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.718e-05/0.354, allocations: 8.781 kB / 352.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008461/0.3549, allocations: 417 kB / 352.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 8.192e-06/0.3549, allocations: 7.984 kB / 352.8 MB, free: 3.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.001403/0.3563, allocations: 0.5973 MB / 353.4 MB, free: 3.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/0.3564, allocations: 105.9 kB / 353.5 MB, free: 3.066 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.3568, allocations: 292.1 kB / 353.8 MB, free: 2.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.357, allocations: 73.69 kB / 353.8 MB, free: 2.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.3573, allocations: 347.6 kB / 354.2 MB, free: 2.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.3576, allocations: 244.9 kB / 354.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.3576, allocations: 24 kB / 354.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.3579, allocations: 366.8 kB / 354.8 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007003/0.3586, allocations: 250.6 kB / 355 MB, free: 1.469 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008433/0.3594, allocations: 467.8 kB / 355.5 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.3601, allocations: 264.9 kB / 355.8 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.3601, allocations: 7.938 kB / 355.8 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.1763/0.5365, allocations: 0.8229 MB / 356.6 MB, free: 76.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.5366, allocations: 12.78 kB / 356.6 MB, free: 76.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.5366, allocations: 6 kB / 356.6 MB, free: 76.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.254e-05/0.5366, allocations: 12.25 kB / 356.6 MB, free: 76.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.5373, allocations: 114 kB / 356.7 MB, free: 76.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.49e-05/0.5373, allocations: 16.34 kB / 356.8 MB, free: 76.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.5379, allocations: 74.56 kB / 356.8 MB, free: 76.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.538, allocations: 52.88 kB / 356.9 MB, free: 76.02 MB / 298.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.0002676/0.5383, allocations: 214.2 kB / 357.1 MB, free: 75.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.5384, allocations: 49.59 kB / 357.1 MB, free: 75.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.5402, allocations: 0.7328 MB / 357.9 MB, free: 75.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.5402, allocations: 11.19 kB / 357.9 MB, free: 75.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.583e-06/0.5402, allocations: 4.109 kB / 357.9 MB, free: 75.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.5403, allocations: 6.938 kB / 357.9 MB, free: 75.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/0.5434, allocations: 1.646 MB / 359.5 MB, free: 75.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.919e-06/0.5435, allocations: 0 / 359.5 MB, free: 75.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.5438, allocations: 75.73 kB / 359.6 MB, free: 75.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.5438, allocations: 9.625 kB / 359.6 MB, free: 75.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.5439, allocations: 19.73 kB / 359.6 MB, free: 75.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.376e-06/0.5439, allocations: 3.906 kB / 359.6 MB, free: 75.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.513e-06/0.5439, allocations: 3.688 kB / 359.6 MB, free: 75.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.5451, allocations: 0.7753 MB / 360.4 MB, free: 75.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.5452, allocations: 126.9 kB / 360.5 MB, free: 75.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.072e-05/0.5453, allocations: 24.06 kB / 360.6 MB, free: 75.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.5457, allocations: 43.23 kB / 360.6 MB, free: 75.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.5459, allocations: 113.2 kB / 360.7 MB, free: 75.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-05/0.546, allocations: 30.91 kB / 360.8 MB, free: 75.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.5462, allocations: 151.6 kB / 360.9 MB, free: 75.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.5462, allocations: 0 / 360.9 MB, free: 75.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007114/0.5469, allocations: 166.6 kB / 361.1 MB, free: 75.13 MB / 298.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.0002313/0.5472, allocations: 164.4 kB / 361.2 MB, free: 75.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.5485, allocations: 0.7272 MB / 361.9 MB, free: 74.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.751e-06/0.5485, allocations: 3.5 kB / 362 MB, free: 74.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006358/0.5491, allocations: 363.5 kB / 362.3 MB, free: 74.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.5496, allocations: 68.83 kB / 362.4 MB, free: 74.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.5514, allocations: 0.9258 MB / 363.3 MB, free: 74.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.5518, allocations: 0.956 MB / 364.3 MB, free: 73.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.5521, allocations: 72.61 kB / 364.3 MB, free: 73.94 MB / 298.7 MB Notification: Performance of SimCode: time 1.444e-06/0.5521, allocations: 0 / 364.3 MB, free: 73.94 MB / 298.7 MB Notification: Performance of Templates: time 0.0124/0.5646, allocations: 8.686 MB / 373 MB, free: 70.08 MB / 298.7 MB