Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.StateGraph.Examples.ExecutionPaths.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.808/1.808, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005788/0.0005791, allocations: 8 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1015, allocations: 44.51 MB / 308.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.004104/0.1057, allocations: 2.132 MB / 310.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.1085, allocations: 0.9113 MB / 311.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.1088, allocations: 19.94 kB / 311.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.109, allocations: 79.27 kB / 311.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1092, allocations: 51.78 kB / 311.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1103, allocations: 347.5 kB / 311.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.1113, allocations: 0.6712 MB / 312.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009713/0.1123, allocations: 0.6221 MB / 313.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.1127, allocations: 275 kB / 313.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004061/0.1131, allocations: 314.5 kB / 313.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.1132, allocations: 40 kB / 313.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1134, allocations: 51.98 kB / 313.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.1137, allocations: 179.4 kB / 314 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.1138, allocations: 149.3 kB / 314.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009163/0.1148, allocations: 0.6666 MB / 314.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.907e-06/0.1148, allocations: 0 / 314.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.047e-06/0.1148, allocations: 0 / 314.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.1148, allocations: 0 / 314.8 MB, free: 10.5 MB / 266.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.001707/0.1165, allocations: 0.8857 MB / 315.7 MB, free: 9.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1166, allocations: 11.97 kB / 315.7 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.1168, allocations: 90.97 kB / 315.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007887/0.1176, allocations: 461.4 kB / 316.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.1178, allocations: 82 kB / 316.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.118, allocations: 112 kB / 316.5 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.1201, allocations: 0.9298 MB / 317.4 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.1201, allocations: 0 / 317.4 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-05/0.1202, allocations: 36 kB / 317.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.1203, allocations: 24 kB / 317.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.1221, allocations: 0.7299 MB / 318.2 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004467/0.1266, allocations: 2.403 MB / 320.6 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.128, allocations: 0.6699 MB / 321.2 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.016e-05/0.1281, allocations: 21.22 kB / 321.3 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008936/0.129, allocations: 437.6 kB / 321.7 MB, free: 3.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 4.344e-06/0.129, allocations: 0 / 321.7 MB, free: 3.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=99): time 0.002027/0.1311, allocations: 0.8396 MB / 322.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.1312, allocations: 98.11 kB / 322.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.1317, allocations: 316.2 kB / 322.9 MB, free: 2.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.1318, allocations: 73.69 kB / 323 MB, free: 2.043 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.1321, allocations: 355.4 kB / 323.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.1324, allocations: 248.7 kB / 323.6 MB, free: 1.445 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.1325, allocations: 24 kB / 323.6 MB, free: 1.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.1327, allocations: 358.8 kB / 324 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/0.1334, allocations: 262.6 kB / 324.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008771/0.1343, allocations: 483.7 kB / 324.7 MB, free: 264 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/0.135, allocations: 278.4 kB / 325 MB, free: 15.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.223e-06/0.135, allocations: 0 / 325 MB, free: 15.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001928/0.137, allocations: 0.8441 MB / 325.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.137, allocations: 10.03 kB / 325.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.1371, allocations: 15.83 kB / 325.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.214e-05/0.1371, allocations: 15.98 kB / 325.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.1376, allocations: 111.7 kB / 326 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.226e-05/0.1377, allocations: 12 kB / 326 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.1382, allocations: 119.3 kB / 326.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.1383, allocations: 47.98 kB / 326.1 MB, free: 14.81 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,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.0005414/0.1388, allocations: 303.5 kB / 326.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.139, allocations: 47.44 kB / 326.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.1407, allocations: 0.7455 MB / 327.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.1407, allocations: 15.95 kB / 327.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.335e-06/0.1408, allocations: 0 / 327.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.1408, allocations: 7.984 kB / 327.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.1444, allocations: 1.694 MB / 328.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.641e-06/0.1445, allocations: 0 / 328.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.1449, allocations: 67.83 kB / 329 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/0.1449, allocations: 8 kB / 329 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/0.145, allocations: 27.98 kB / 329 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.145, allocations: 4 kB / 329.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.145, allocations: 3.953 kB / 329.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.1466, allocations: 0.7857 MB / 329.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.1467, allocations: 132.3 kB / 330 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.441e-05/0.1468, allocations: 24 kB / 330 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.1472, allocations: 39.97 kB / 330 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.1475, allocations: 112.8 kB / 330.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.935e-05/0.1476, allocations: 31.98 kB / 330.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001925/0.1478, allocations: 148.5 kB / 330.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.1478, allocations: 0 / 330.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008293/0.1486, allocations: 215.2 kB / 330.5 MB, free: 10.31 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.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.0002895/0.1489, allocations: 167 kB / 330.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.1507, allocations: 0.7404 MB / 331.4 MB, free: 9.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.871e-06/0.1507, allocations: 1.5 kB / 331.4 MB, free: 9.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008072/0.1515, allocations: 369.6 kB / 331.8 MB, free: 9.027 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.1521, allocations: 76.39 kB / 331.9 MB, free: 8.953 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.1547, allocations: 1.417 MB / 333.3 MB, free: 7.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007317/0.1555, allocations: 0.951 MB / 334.2 MB, free: 6.523 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.1558, allocations: 71.42 kB / 334.3 MB, free: 6.453 MB / 282.7 MB Notification: Performance of SimCode: time 1.536e-06/0.1558, allocations: 3.938 kB / 334.3 MB, free: 6.449 MB / 282.7 MB Notification: Performance of Templates: time 0.0176/0.1734, allocations: 8.688 MB / 343 MB, free: 13.74 MB / 298.7 MB