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.589/1.589, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 12 kB / 233.1 MB, free: 3.066 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07052/0.0709, allocations: 38.77 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.003382/0.07432, allocations: 2.136 MB / 274.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.07636, allocations: 0.9074 MB / 275 MB, free: 9.137 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.07667, allocations: 27.88 kB / 275 MB, free: 9.109 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.0769, allocations: 79.31 kB / 275.1 MB, free: 9.031 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.0771, allocations: 47.8 kB / 275.1 MB, free: 8.984 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.07812, allocations: 343.5 kB / 275.4 MB, free: 8.648 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000998/0.07913, allocations: 0.6713 MB / 276.1 MB, free: 7.977 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009915/0.08014, allocations: 0.6222 MB / 276.7 MB, free: 7.34 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.08052, allocations: 275 kB / 277 MB, free: 7.07 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.08095, allocations: 318.4 kB / 277.3 MB, free: 6.758 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.08107, allocations: 40 kB / 277.4 MB, free: 6.719 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.08125, allocations: 55.98 kB / 277.4 MB, free: 6.664 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.08149, allocations: 175.4 kB / 277.6 MB, free: 6.492 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.08171, allocations: 149.3 kB / 277.7 MB, free: 6.34 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009995/0.08272, allocations: 0.6666 MB / 278.4 MB, free: 5.672 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.713e-06/0.08274, allocations: 0 / 278.4 MB, free: 5.672 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.42e-06/0.08276, allocations: 0 / 278.4 MB, free: 5.672 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.08278, allocations: 7.938 kB / 278.4 MB, free: 5.664 MB / 234.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.001742/0.08453, allocations: 0.8933 MB / 279.3 MB, free: 4.707 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.08459, allocations: 8.031 kB / 279.3 MB, free: 4.699 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.08481, allocations: 90.97 kB / 279.4 MB, free: 4.609 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/0.08564, allocations: 449.5 kB / 279.8 MB, free: 4.129 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.08578, allocations: 82 kB / 279.9 MB, free: 4.047 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.08598, allocations: 112 kB / 280 MB, free: 3.938 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.0881, allocations: 0.9337 MB / 281 MB, free: 2.98 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.08815, allocations: 3.938 kB / 281 MB, free: 2.977 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.08826, allocations: 36 kB / 281 MB, free: 2.941 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.0883, allocations: 24 kB / 281 MB, free: 2.918 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.09039, allocations: 0.7222 MB / 281.7 MB, free: 2.191 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005081/0.09551, allocations: 2.415 MB / 284.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.09702, allocations: 0.6686 MB / 284.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.002e-05/0.09713, allocations: 16.98 kB / 284.8 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000903/0.09805, allocations: 431 kB / 285.3 MB, free: 14.56 MB / 250.7 MB Notification: Performance of pre-optimization done (n=99): time 4.608e-06/0.09808, allocations: 0 / 285.3 MB, free: 14.56 MB / 250.7 MB Notification: Performance of matching and sorting (n=99): time 0.002085/0.1002, allocations: 0.8318 MB / 286.1 MB, free: 13.72 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1003, allocations: 106 kB / 286.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.1008, allocations: 320.1 kB / 286.5 MB, free: 13.28 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.1009, allocations: 73.81 kB / 286.6 MB, free: 13.2 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.1013, allocations: 355.5 kB / 286.9 MB, free: 12.85 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/0.1016, allocations: 248.7 kB / 287.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.1017, allocations: 27.94 kB / 287.2 MB, free: 12.58 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.1019, allocations: 354.8 kB / 287.5 MB, free: 12.22 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000687/0.1026, allocations: 262.5 kB / 287.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009153/0.1035, allocations: 479.7 kB / 288.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006946/0.1042, allocations: 278.3 kB / 288.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.1042, allocations: 0 / 288.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001949/0.1062, allocations: 0.8483 MB / 289.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.1063, allocations: 8 kB / 289.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.1063, allocations: 8.031 kB / 289.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.1063, allocations: 12 kB / 289.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.1069, allocations: 115.7 kB / 289.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.626e-05/0.1069, allocations: 19.88 kB / 289.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.1074, allocations: 118.9 kB / 289.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.1075, allocations: 48 kB / 289.7 MB, free: 9.973 MB / 250.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.0005661/0.1081, allocations: 307.5 kB / 290 MB, free: 9.656 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.1082, allocations: 51.44 kB / 290.1 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.11, allocations: 0.7455 MB / 290.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.11, allocations: 12 kB / 290.8 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.11, allocations: 3.938 kB / 290.8 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.1101, allocations: 7.984 kB / 290.8 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/0.1138, allocations: 1.683 MB / 292.5 MB, free: 7.086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.056e-06/0.1138, allocations: 4 kB / 292.5 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.1142, allocations: 71.78 kB / 292.6 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/0.1142, allocations: 8 kB / 292.6 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.1143, allocations: 19.98 kB / 292.6 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.876e-06/0.1143, allocations: 4 kB / 292.6 MB, free: 6.98 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1143, allocations: 0 / 292.6 MB, free: 6.98 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.1159, allocations: 0.7934 MB / 293.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.1161, allocations: 136.3 kB / 293.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.842e-05/0.1162, allocations: 20 kB / 293.6 MB, free: 6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.1165, allocations: 43.97 kB / 293.6 MB, free: 5.957 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/0.1168, allocations: 100.8 kB / 293.7 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.979e-05/0.1169, allocations: 32 kB / 293.7 MB, free: 5.824 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001874/0.1171, allocations: 152.5 kB / 293.9 MB, free: 5.68 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.5e-07/0.1171, allocations: 7.938 kB / 293.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000819/0.1179, allocations: 215.2 kB / 294.1 MB, free: 5.461 MB / 250.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.0002923/0.1182, allocations: 154.9 kB / 294.3 MB, free: 5.301 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.1199, allocations: 0.7487 MB / 295 MB, free: 4.551 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.448e-06/0.12, allocations: 0 / 295 MB, free: 4.551 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.1208, allocations: 369.6 kB / 295.4 MB, free: 4.191 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.1213, allocations: 73.34 kB / 295.4 MB, free: 4.117 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.1241, allocations: 1.421 MB / 296.9 MB, free: 2.656 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007649/0.1249, allocations: 0.9549 MB / 297.8 MB, free: 1.672 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/0.1252, allocations: 75.41 kB / 297.9 MB, free: 1.602 MB / 250.7 MB Notification: Performance of SimCode: time 1.684e-06/0.1253, allocations: 0 / 297.9 MB, free: 1.602 MB / 250.7 MB Notification: Performance of Templates: time 0.1992/0.3245, allocations: 8.684 MB / 306.6 MB, free: 27.92 MB / 250.7 MB