Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.765/1.765, allocations: 171.1 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003582, allocations: 12 kB / 233.8 MB, free: 0.9961 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/0.08505, allocations: 38.77 MB / 272.5 MB, free: 10.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4375, allocations: 66.75 MB / 339.3 MB, free: 372 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.4378, allocations: 67.97 kB / 339.4 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04649/0.4843, allocations: 11.43 MB / 350.8 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4843, allocations: 0 / 350.8 MB, free: 4.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.868e-05/0.4844, allocations: 27.94 kB / 350.8 MB, free: 4.773 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.002134/0.4866, allocations: 0.9125 MB / 351.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4866, allocations: 11.97 kB / 351.7 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/0.487, allocations: 94.95 kB / 351.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009862/0.488, allocations: 429.6 kB / 352.3 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.4882, allocations: 86 kB / 352.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.4884, allocations: 115.9 kB / 352.5 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.4911, allocations: 0.9298 MB / 353.4 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.4912, allocations: 4 kB / 353.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.4913, allocations: 36 kB / 353.4 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.4913, allocations: 20 kB / 353.4 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.4937, allocations: 0.726 MB / 354.2 MB, free: 1.273 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005522/0.4992, allocations: 2.361 MB / 356.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.5009, allocations: 0.6543 MB / 357.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.5011, allocations: 17.06 kB / 357.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.5022, allocations: 433.8 kB / 357.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 3.777e-06/0.5022, allocations: 7.938 kB / 357.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.002375/0.5046, allocations: 0.8357 MB / 358.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/0.5047, allocations: 98.05 kB / 358.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.5053, allocations: 328 kB / 358.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.5054, allocations: 69.69 kB / 359 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.5057, allocations: 347.6 kB / 359.3 MB, free: 12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.5061, allocations: 244.9 kB / 359.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.5062, allocations: 27.94 kB / 359.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5064, allocations: 362.9 kB / 359.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008092/0.5072, allocations: 262.5 kB / 360.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009837/0.5082, allocations: 479.7 kB / 360.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007996/0.509, allocations: 278.3 kB / 360.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.509, allocations: 4 kB / 360.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002221/0.5113, allocations: 0.8477 MB / 361.8 MB, free: 9.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.5113, allocations: 8 kB / 361.8 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.5113, allocations: 4 kB / 361.8 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/0.5114, allocations: 12 kB / 361.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/0.5121, allocations: 111.7 kB / 361.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.001e-05/0.5122, allocations: 16.5 kB / 361.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005854/0.5128, allocations: 79.61 kB / 362 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.5129, allocations: 47.98 kB / 362 MB, free: 9.164 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 () * 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.0006444/0.5136, allocations: 303.5 kB / 362.3 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.5137, allocations: 47.44 kB / 362.4 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.5158, allocations: 0.7456 MB / 363.1 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.5158, allocations: 12 kB / 363.1 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5159, allocations: 0 / 363.1 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.5159, allocations: 7.969 kB / 363.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004263/0.5202, allocations: 1.671 MB / 364.8 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.547e-06/0.5202, allocations: 4 kB / 364.8 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.5208, allocations: 71.77 kB / 364.9 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.5208, allocations: 7.938 kB / 364.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.5209, allocations: 19.98 kB / 364.9 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.5209, allocations: 4 kB / 364.9 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5209, allocations: 8 kB / 364.9 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.5227, allocations: 0.7779 MB / 365.7 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.5228, allocations: 124.4 kB / 365.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.523, allocations: 23.98 kB / 365.9 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.5234, allocations: 43.97 kB / 365.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/0.5237, allocations: 108.8 kB / 366 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.038e-05/0.5238, allocations: 31.98 kB / 366 MB, free: 5.051 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001942/0.524, allocations: 152.5 kB / 366.2 MB, free: 4.906 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.524, allocations: 3.938 kB / 366.2 MB, free: 4.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008262/0.5249, allocations: 167.9 kB / 366.3 MB, free: 4.738 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) * 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.0003046/0.5252, allocations: 163.5 kB / 366.5 MB, free: 4.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.5271, allocations: 0.7376 MB / 367.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5272, allocations: 384 / 367.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009216/0.5281, allocations: 381.5 kB / 367.6 MB, free: 3.457 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.5287, allocations: 78.31 kB / 367.7 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.5319, allocations: 1.413 MB / 369.1 MB, free: 1.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.5326, allocations: 0.951 MB / 370.1 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.533, allocations: 79.34 kB / 370.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.533, allocations: 0 / 370.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of Templates: time 0.1234/0.6565, allocations: 8.679 MB / 378.8 MB, free: 8.176 MB / 314.7 MB