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.996/0.996, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002602, allocations: 7.984 kB / 158.2 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04382/0.04411, allocations: 25.18 MB / 183.4 MB, free: 6.012 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.003226/0.04737, allocations: 2.024 MB / 185.4 MB, free: 3.984 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.04922, allocations: 0.884 MB / 186.3 MB, free: 3.098 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.04947, allocations: 23.94 kB / 186.3 MB, free: 3.074 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.04972, allocations: 87.25 kB / 186.4 MB, free: 2.988 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.04991, allocations: 43.78 kB / 186.5 MB, free: 2.945 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009357/0.05086, allocations: 339.5 kB / 186.8 MB, free: 2.613 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009455/0.05182, allocations: 0.6555 MB / 187.5 MB, free: 1.957 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009349/0.05277, allocations: 0.6071 MB / 188.1 MB, free: 1.336 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.05313, allocations: 279 kB / 188.3 MB, free: 1.062 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004067/0.05355, allocations: 306.5 kB / 188.6 MB, free: 0.7617 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.05366, allocations: 40 kB / 188.7 MB, free: 0.7227 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.05382, allocations: 51.98 kB / 188.7 MB, free: 0.6719 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.05404, allocations: 167.4 kB / 188.9 MB, free: 0.5078 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.05422, allocations: 141.3 kB / 189 MB, free: 372 kB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.05531, allocations: 0.6666 MB / 189.7 MB, free: 15.7 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.05534, allocations: 0 / 189.7 MB, free: 15.7 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.142e-06/0.05535, allocations: 0 / 189.7 MB, free: 15.7 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.05538, allocations: 8 kB / 189.7 MB, free: 15.69 MB / 170.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.001587/0.05697, allocations: 0.8819 MB / 190.6 MB, free: 14.74 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.05702, allocations: 12.03 kB / 190.6 MB, free: 14.73 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.05723, allocations: 90.92 kB / 190.7 MB, free: 14.64 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/0.05801, allocations: 441.5 kB / 191.1 MB, free: 14.16 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.05815, allocations: 90 kB / 191.2 MB, free: 14.07 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.05834, allocations: 104 kB / 191.3 MB, free: 13.97 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.06037, allocations: 0.9376 MB / 192.2 MB, free: 13.01 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.06041, allocations: 0 / 192.2 MB, free: 13.01 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.06053, allocations: 36 kB / 192.3 MB, free: 12.98 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.06057, allocations: 31.88 kB / 192.3 MB, free: 12.95 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.06235, allocations: 0.726 MB / 193 MB, free: 12.22 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004103/0.06647, allocations: 2.376 MB / 195.4 MB, free: 9.773 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.0679, allocations: 0.6622 MB / 196.1 MB, free: 9.086 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.087e-05/0.068, allocations: 24.97 kB / 196.1 MB, free: 9.062 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008804/0.06889, allocations: 433.7 kB / 196.5 MB, free: 8.621 MB / 170.7 MB Notification: Performance of pre-optimization done (n=99): time 4.044e-06/0.06892, allocations: 0 / 196.5 MB, free: 8.621 MB / 170.7 MB Notification: Performance of matching and sorting (n=99): time 0.001989/0.07091, allocations: 0.828 MB / 197.4 MB, free: 7.789 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.374e-05/0.07102, allocations: 110 kB / 197.5 MB, free: 7.664 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/0.07145, allocations: 320.1 kB / 197.8 MB, free: 7.336 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.07157, allocations: 61.7 kB / 197.8 MB, free: 7.27 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.07189, allocations: 359.3 kB / 198.2 MB, free: 6.914 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/0.07219, allocations: 248.9 kB / 198.4 MB, free: 6.668 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.07226, allocations: 24 kB / 198.5 MB, free: 6.645 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.07248, allocations: 358.8 kB / 198.8 MB, free: 6.285 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.07314, allocations: 254.5 kB / 199.1 MB, free: 6.035 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008519/0.074, allocations: 475.4 kB / 199.5 MB, free: 5.496 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006792/0.0747, allocations: 278.7 kB / 199.8 MB, free: 5.227 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.07472, allocations: 0 / 199.8 MB, free: 5.227 MB / 170.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001879/0.07661, allocations: 0.8553 MB / 200.6 MB, free: 4.363 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.07665, allocations: 10.03 kB / 200.7 MB, free: 4.355 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.07668, allocations: 4 kB / 200.7 MB, free: 4.352 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/0.07672, allocations: 16.69 kB / 200.7 MB, free: 4.336 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.07721, allocations: 115.6 kB / 200.8 MB, free: 4.223 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.643e-05/0.07725, allocations: 19.98 kB / 200.8 MB, free: 4.203 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.0777, allocations: 111 kB / 200.9 MB, free: 4.094 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.07783, allocations: 47.98 kB / 201 MB, free: 4.047 MB / 170.7 MB Warning: Assuming fixed start value for the following 8 variables: transition6a.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4a.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition6.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition5.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition3.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition2.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition1.t_start:DISCRETE(unit = "s" fixed = true 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,step0.active,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,transition1.enableFire,transition1.fire,transition1.outPort.occupied,$PRE.transition1.t_start,transition1.t_start,step1.active,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,step6.active,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step2.active,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,step3.active,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step4.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,step5.active,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,transition7.condition,transition7.enableFire,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,step4a.active,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,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.0005961/0.07844, allocations: 338 kB / 201.3 MB, free: 3.703 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.07855, allocations: 51.38 kB / 201.3 MB, free: 3.652 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.08024, allocations: 0.7456 MB / 202.1 MB, free: 2.902 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.08028, allocations: 12 kB / 202.1 MB, free: 2.891 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.0803, allocations: 0 / 202.1 MB, free: 2.891 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.08033, allocations: 11.97 kB / 202.1 MB, free: 2.879 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/0.08386, allocations: 1.691 MB / 203.8 MB, free: 1.125 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.08389, allocations: 0 / 203.8 MB, free: 1.125 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.08423, allocations: 71.83 kB / 203.9 MB, free: 1.055 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.945e-06/0.08425, allocations: 8 kB / 203.9 MB, free: 1.047 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/0.08432, allocations: 19.98 kB / 203.9 MB, free: 1.027 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.448e-06/0.08434, allocations: 4 kB / 203.9 MB, free: 1.023 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.08435, allocations: 0 / 203.9 MB, free: 1.023 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.08585, allocations: 0.7935 MB / 204.7 MB, free: 216 kB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.086, allocations: 140.2 kB / 204.8 MB, free: 56 kB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.27e-05/0.08611, allocations: 19.98 kB / 204.9 MB, free: 36 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1125/0.1986, allocations: 38.44 kB / 204.9 MB, free: 24.05 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/0.199, allocations: 103.3 kB / 205 MB, free: 24.05 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.691e-05/0.1991, allocations: 32.81 kB / 205 MB, free: 24.05 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.1993, allocations: 153.9 kB / 205.2 MB, free: 23.97 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.24e-07/0.1993, allocations: 0 / 205.2 MB, free: 23.97 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.000797/0.2001, allocations: 204.2 kB / 205.4 MB, free: 23.97 MB / 170.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.active,step0.newActive,step0.oldActive,transition1.fire,transition1.outPort.occupied,transition1.t_start,step1.active,step1.newActive,step1.oldActive,transition2.fire,transition2.t_start,step6.active,step6.newActive,step6.oldActive,step2.active,step2.outPort[1].reset,step2.newActive,step2.oldActive,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.active,step3.newActive,step3.oldActive,step4.active,step4.newActive,step4.oldActive,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.active,step5.inPort[1].set,step5.newActive,step5.oldActive,transition7.condition,transition7.enableFire,transition4a.fire,transition4a.t_start,step4a.active,step4a.newActive,step4a.oldActive,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,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.0002406/0.2003, allocations: 160.7 kB / 205.5 MB, free: 23.88 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.202, allocations: 0.7475 MB / 206.3 MB, free: 23.86 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.133e-06/0.202, allocations: 3.375 kB / 206.3 MB, free: 23.86 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007116/0.2027, allocations: 379.4 kB / 206.7 MB, free: 23.83 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.2032, allocations: 71.91 kB / 206.7 MB, free: 23.83 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.2054, allocations: 1.41 MB / 208.1 MB, free: 23 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.2059, allocations: 0.9545 MB / 209.1 MB, free: 22.3 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.2062, allocations: 73.48 kB / 209.2 MB, free: 22.29 MB / 170.7 MB Notification: Performance of SimCode: time 1.965e-06/0.2062, allocations: 0 / 209.2 MB, free: 22.29 MB / 170.7 MB Notification: Performance of Templates: time 0.01407/0.2203, allocations: 8.708 MB / 217.9 MB, free: 18.77 MB / 170.7 MB