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.742/1.742, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003543, allocations: 8 kB / 263.9 MB, free: 13.58 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07899/0.07937, allocations: 44.52 MB / 308.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3976/0.477, allocations: 72.07 MB / 380.5 MB, free: 18.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.4772, allocations: 66.41 kB / 380.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03945/0.5167, allocations: 11.43 MB / 392 MB, free: 17.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.812e-06/0.5167, allocations: 3.875 kB / 392 MB, free: 17.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.164e-05/0.5168, allocations: 27 kB / 392 MB, free: 17.76 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.001405/0.5182, allocations: 0.9014 MB / 392.9 MB, free: 17.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5182, allocations: 7.812 kB / 393 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.5185, allocations: 89.81 kB / 393 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.5192, allocations: 445.8 kB / 393.5 MB, free: 16.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.819e-05/0.5193, allocations: 84.75 kB / 393.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.5195, allocations: 105 kB / 393.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.5213, allocations: 0.9259 MB / 394.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.5213, allocations: 2.953 kB / 394.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.5215, allocations: 36.47 kB / 394.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.5215, allocations: 27.34 kB / 394.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.5235, allocations: 0.7202 MB / 395.4 MB, free: 16.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003576/0.5271, allocations: 2.349 MB / 397.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.5282, allocations: 0.6713 MB / 398.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.787e-05/0.5283, allocations: 17.86 kB / 398.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007611/0.5291, allocations: 439.8 kB / 398.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 4.41e-06/0.5291, allocations: 0 / 398.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=99): time 0.001776/0.5309, allocations: 0.8305 MB / 399.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.531, allocations: 100.8 kB / 399.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.5313, allocations: 293.8 kB / 400.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.5314, allocations: 70.19 kB / 400.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.5316, allocations: 350.7 kB / 400.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.5318, allocations: 247.4 kB / 400.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.5318, allocations: 24.88 kB / 400.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.5319, allocations: 357.8 kB / 401.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006175/0.5326, allocations: 263 kB / 401.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007294/0.5333, allocations: 479.3 kB / 401.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006148/0.5339, allocations: 277.3 kB / 402.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.206e-06/0.534, allocations: 2.5 kB / 402.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001613/0.5356, allocations: 0.852 MB / 402.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.5356, allocations: 7.562 kB / 402.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.5356, allocations: 7.75 kB / 402.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.175e-05/0.5357, allocations: 19.47 kB / 403 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.5361, allocations: 114.5 kB / 403.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.5362, allocations: 15.28 kB / 403.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.5366, allocations: 69.91 kB / 403.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.816e-05/0.5367, allocations: 48.66 kB / 403.2 MB, free: 14.26 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.0004444/0.5372, allocations: 311.6 kB / 403.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/0.5373, allocations: 49.38 kB / 403.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.5388, allocations: 0.7334 MB / 404.3 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.5388, allocations: 19.11 kB / 404.3 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.804e-06/0.5388, allocations: 4 kB / 404.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.5389, allocations: 6.703 kB / 404.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.5422, allocations: 1.655 MB / 406 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.5422, allocations: 0 / 406 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.5427, allocations: 70.11 kB / 406 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.5427, allocations: 7.969 kB / 406.1 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.5428, allocations: 28.78 kB / 406.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.881e-06/0.5428, allocations: 3.875 kB / 406.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.45e-06/0.5428, allocations: 7.891 kB / 406.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.5441, allocations: 0.7855 MB / 406.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.5442, allocations: 123.9 kB / 407 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.132e-05/0.5443, allocations: 24.72 kB / 407 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.5447, allocations: 53.41 kB / 407.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.5449, allocations: 101.7 kB / 407.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/0.545, allocations: 43.8 kB / 407.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.5452, allocations: 149.6 kB / 407.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5452, allocations: 0 / 407.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007683/0.5459, allocations: 169.4 kB / 407.5 MB, free: 13.16 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.0002299/0.5462, allocations: 167 kB / 407.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.5476, allocations: 0.7447 MB / 408.4 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.922e-06/0.5476, allocations: 0 / 408.4 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006717/0.5483, allocations: 377.2 kB / 408.8 MB, free: 12.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.5488, allocations: 65.17 kB / 408.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.551, allocations: 1.407 MB / 410.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.5514, allocations: 0.9461 MB / 411.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.5517, allocations: 80.53 kB / 411.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.429e-06/0.5517, allocations: 0 / 411.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of Templates: time 0.01329/0.565, allocations: 8.689 MB / 420 MB, free: 6.809 MB / 314.7 MB