Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 2.23/2.23, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003555, allocations: 12 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.09697, allocations: 44.49 MB / 309 MB, free: 400 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4372/0.5343, allocations: 72.07 MB / 381.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.5347, allocations: 71.72 kB / 381.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04636/0.581, allocations: 11.44 MB / 392.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5811, allocations: 0 / 392.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.13e-05/0.5812, allocations: 27.31 kB / 392.6 MB, free: 14.32 MB / 314.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.001849/0.583, allocations: 0.9052 MB / 393.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.5831, allocations: 7.781 kB / 393.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.5833, allocations: 93.5 kB / 393.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007641/0.5841, allocations: 433.2 kB / 394.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.5842, allocations: 93.33 kB / 394.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.5844, allocations: 102.6 kB / 394.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.5865, allocations: 0.9269 MB / 395.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.5865, allocations: 0 / 395.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.5867, allocations: 44.41 kB / 395.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.5867, allocations: 19.53 kB / 395.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.5887, allocations: 0.7278 MB / 396 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.5931, allocations: 2.336 MB / 398.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.5946, allocations: 0.6759 MB / 399 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.612e-05/0.5947, allocations: 12.31 kB / 399 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000923/0.5956, allocations: 443.7 kB / 399.4 MB, free: 12.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 4.799e-06/0.5956, allocations: 0 / 399.4 MB, free: 12.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=99): time 0.002075/0.5977, allocations: 0.8353 MB / 400.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.5978, allocations: 96.83 kB / 400.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.5982, allocations: 324 kB / 400.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.5984, allocations: 72.38 kB / 400.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.5986, allocations: 297.2 kB / 401 MB, free: 11.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.5988, allocations: 238.7 kB / 401.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.5989, allocations: 24.5 kB / 401.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.599, allocations: 374 kB / 401.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006845/0.5997, allocations: 263.1 kB / 401.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008117/0.6006, allocations: 475.6 kB / 402.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006806/0.6013, allocations: 277.9 kB / 402.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.6013, allocations: 7.844 kB / 402.7 MB, free: 10.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00198/0.6033, allocations: 0.8522 MB / 403.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.6033, allocations: 8.531 kB / 403.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.6034, allocations: 9.172 kB / 403.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.58e-05/0.6034, allocations: 16.69 kB / 403.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/0.6042, allocations: 115.7 kB / 403.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.107e-05/0.6042, allocations: 15.41 kB / 403.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000609/0.6048, allocations: 71.25 kB / 403.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.605, allocations: 46.84 kB / 403.8 MB, free: 10.57 MB / 314.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.0006129/0.6056, allocations: 311.3 kB / 404.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.6057, allocations: 47.59 kB / 404.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.6075, allocations: 0.74 MB / 404.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.6076, allocations: 19.7 kB / 404.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.6076, allocations: 0 / 404.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.6076, allocations: 7.859 kB / 404.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003657/0.6113, allocations: 1.658 MB / 406.6 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.6114, allocations: 0 / 406.6 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/0.6118, allocations: 81.94 kB / 406.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/0.6119, allocations: 3.844 kB / 406.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/0.6119, allocations: 22.52 kB / 406.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.612, allocations: 3.844 kB / 406.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.612, allocations: 7.859 kB / 406.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.6135, allocations: 0.774 MB / 407.5 MB, free: 9.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.948e-05/0.6136, allocations: 127 kB / 407.6 MB, free: 9.125 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.6137, allocations: 22.88 kB / 407.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.6141, allocations: 42.09 kB / 407.6 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/0.6144, allocations: 109.9 kB / 407.8 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-05/0.6145, allocations: 30.59 kB / 407.8 MB, free: 9.062 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.6147, allocations: 157.3 kB / 407.9 MB, free: 8.973 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.313e-06/0.6147, allocations: 0 / 407.9 MB, free: 8.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008861/0.6156, allocations: 176.8 kB / 408.1 MB, free: 8.953 MB / 314.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.0002604/0.6159, allocations: 157.8 kB / 408.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001725/0.6176, allocations: 0.7482 MB / 409 MB, free: 8.719 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6176, allocations: 0 / 409 MB, free: 8.719 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007901/0.6184, allocations: 380 kB / 409.4 MB, free: 8.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.6191, allocations: 76.59 kB / 409.5 MB, free: 8.637 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.6218, allocations: 1.394 MB / 410.9 MB, free: 7.848 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.6223, allocations: 0.9595 MB / 411.8 MB, free: 7.031 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006628/0.6229, allocations: 106.9 kB / 411.9 MB, free: 6.984 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.6233, allocations: 69.22 kB / 412 MB, free: 6.973 MB / 314.7 MB Notification: Performance of SimCode: time 1.422e-06/0.6233, allocations: 0 / 412 MB, free: 6.973 MB / 314.7 MB Notification: Performance of Templates: time 0.02018/0.6435, allocations: 6.606 MB / 418.6 MB, free: 3.754 MB / 314.7 MB