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.708/1.708, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 8 kB / 233.2 MB, free: 3.027 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06974/0.07012, allocations: 38.78 MB / 272 MB, free: 12.18 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2814/0.3515, allocations: 66.77 MB / 338.8 MB, free: 7.195 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.3518, allocations: 67.28 kB / 338.8 MB, free: 7.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04252/0.3943, allocations: 11.44 MB / 350.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.58e-06/0.3944, allocations: 0 / 350.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.714e-05/0.3944, allocations: 23.94 kB / 350.3 MB, free: 13.25 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.001831/0.3963, allocations: 0.9086 MB / 351.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3963, allocations: 12.03 kB / 351.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.3966, allocations: 86.97 kB / 351.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008174/0.3974, allocations: 437.1 kB / 351.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.3975, allocations: 89.73 kB / 351.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.3977, allocations: 106.8 kB / 351.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.3998, allocations: 0.9286 MB / 352.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.3999, allocations: 0 / 352.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.4, allocations: 39 kB / 352.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.4001, allocations: 20 kB / 352.9 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.4018, allocations: 0.7265 MB / 353.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004505/0.4064, allocations: 2.344 MB / 356 MB, free: 8.613 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.4078, allocations: 0.6609 MB / 356.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.221e-05/0.4078, allocations: 21.58 kB / 356.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008941/0.4088, allocations: 438 kB / 357.1 MB, free: 7.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 5.077e-06/0.4088, allocations: 0 / 357.1 MB, free: 7.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=99): time 0.002029/0.4108, allocations: 0.8376 MB / 357.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.4109, allocations: 104.8 kB / 358 MB, free: 7.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004306/0.4114, allocations: 296.7 kB / 358.3 MB, free: 6.852 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.4115, allocations: 71.44 kB / 358.4 MB, free: 6.801 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.4118, allocations: 350.9 kB / 358.7 MB, free: 6.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.4121, allocations: 237.2 kB / 359 MB, free: 6.305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.4122, allocations: 26.25 kB / 359 MB, free: 6.297 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.4124, allocations: 356.8 kB / 359.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/0.4131, allocations: 269.8 kB / 359.6 MB, free: 5.785 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008456/0.4139, allocations: 476.2 kB / 360.1 MB, free: 5.352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006747/0.4146, allocations: 274.2 kB / 360.3 MB, free: 5.188 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.492e-06/0.4147, allocations: 4 kB / 360.3 MB, free: 5.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001878/0.4165, allocations: 0.8472 MB / 361.2 MB, free: 4.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.4166, allocations: 8 kB / 361.2 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.4166, allocations: 7.938 kB / 361.2 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.4167, allocations: 12 kB / 361.2 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.4172, allocations: 113.9 kB / 361.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.769e-05/0.4172, allocations: 15.98 kB / 361.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.4177, allocations: 74.44 kB / 361.4 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.4178, allocations: 50.36 kB / 361.5 MB, free: 4.316 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.0005834/0.4184, allocations: 302.3 kB / 361.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.4185, allocations: 55.38 kB / 361.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.4202, allocations: 0.7416 MB / 362.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.4203, allocations: 12 kB / 362.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.245e-06/0.4203, allocations: 0 / 362.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.4203, allocations: 7.969 kB / 362.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.4239, allocations: 1.675 MB / 364.2 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.4239, allocations: 7.938 kB / 364.3 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.4243, allocations: 67.7 kB / 364.3 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/0.4243, allocations: 4 kB / 364.3 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/0.4244, allocations: 23.11 kB / 364.3 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.4244, allocations: 4 kB / 364.4 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.299e-06/0.4244, allocations: 4 kB / 364.4 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.4259, allocations: 0.7932 MB / 365.2 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.4261, allocations: 128.3 kB / 365.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.389e-05/0.4262, allocations: 19.17 kB / 365.3 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.4265, allocations: 47.66 kB / 365.3 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.4268, allocations: 100.2 kB / 365.4 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.05e-05/0.4269, allocations: 31.73 kB / 365.5 MB, free: 1.137 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001932/0.4271, allocations: 159.7 kB / 365.6 MB, free: 1.004 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.4272, allocations: 0 / 365.6 MB, free: 1.004 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000817/0.428, allocations: 166.4 kB / 365.8 MB, free: 0.875 MB / 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.0002811/0.4283, allocations: 170 kB / 366 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.4299, allocations: 0.7373 MB / 366.7 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.529e-06/0.4299, allocations: 0 / 366.7 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007683/0.4307, allocations: 381.2 kB / 367.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.4312, allocations: 71.33 kB / 367.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.434, allocations: 1.416 MB / 368.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007771/0.4348, allocations: 0.9465 MB / 369.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.4352, allocations: 78.22 kB / 369.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of SimCode: time 1.877e-06/0.4352, allocations: 0 / 369.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of Templates: time 0.01752/0.4527, allocations: 8.688 MB / 378.3 MB, free: 4.891 MB / 298.7 MB