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: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_2_2_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.173/2.173, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005837/0.0005837, allocations: 8 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3453, allocations: 44.5 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.4795, allocations: 72.09 MB / 380.6 MB, free: 4.488 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.4798, allocations: 67.97 kB / 380.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04896/0.5288, allocations: 11.43 MB / 392.1 MB, free: 8.918 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5289, allocations: 0 / 392.1 MB, free: 8.918 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.206e-05/0.529, allocations: 23.94 kB / 392.2 MB, free: 8.895 MB / 330.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.00251/0.5315, allocations: 0.9048 MB / 393.1 MB, free: 7.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.5316, allocations: 15.97 kB / 393.1 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003555/0.5319, allocations: 143.8 kB / 393.2 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.5322, allocations: 94.95 kB / 393.3 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009869/0.5332, allocations: 437.9 kB / 393.7 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.5334, allocations: 86 kB / 393.8 MB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.5336, allocations: 108 kB / 393.9 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/0.5364, allocations: 0.922 MB / 394.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.5365, allocations: 4 kB / 394.9 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.5366, allocations: 40 kB / 394.9 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.5367, allocations: 20 kB / 394.9 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.539, allocations: 0.726 MB / 395.6 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005731/0.5447, allocations: 2.338 MB / 398 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.5465, allocations: 0.6733 MB / 398.7 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.5467, allocations: 20.98 kB / 398.7 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/0.5478, allocations: 437.7 kB / 399.1 MB, free: 1.688 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 4.318e-06/0.5478, allocations: 0 / 399.1 MB, free: 1.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.002427/0.5503, allocations: 0.8318 MB / 399.9 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.5504, allocations: 102 kB / 400 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.5509, allocations: 303.3 kB / 400.3 MB, free: 444 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001896/0.5511, allocations: 69.69 kB / 400.4 MB, free: 368 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.5515, allocations: 297.2 kB / 400.7 MB, free: 64 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.5519, allocations: 237 kB / 400.9 MB, free: 15.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.552, allocations: 31.94 kB / 400.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.5522, allocations: 362.8 kB / 401.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008373/0.553, allocations: 262.5 kB / 401.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.5541, allocations: 475.7 kB / 402 MB, free: 14.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009294/0.5551, allocations: 282.3 kB / 402.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.5551, allocations: 0 / 402.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00243/0.5576, allocations: 0.8553 MB / 403.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.5577, allocations: 8.75 kB / 403.2 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.5577, allocations: 7.953 kB / 403.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.941e-05/0.5577, allocations: 16 kB / 403.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/0.5586, allocations: 115.7 kB / 403.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.569e-05/0.5587, allocations: 11.94 kB / 403.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/0.5593, allocations: 75.66 kB / 403.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.5595, allocations: 48 kB / 403.4 MB, free: 13.22 MB / 346.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.0007557/0.5602, allocations: 307.5 kB / 403.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.5604, allocations: 47.44 kB / 403.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.5626, allocations: 0.7495 MB / 404.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/0.5627, allocations: 19.95 kB / 404.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.5627, allocations: 0 / 404.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/0.5627, allocations: 3.984 kB / 404.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004615/0.5674, allocations: 1.664 MB / 406.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.5674, allocations: 0 / 406.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/0.568, allocations: 71.78 kB / 406.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/0.5681, allocations: 8 kB / 406.3 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/0.5681, allocations: 23.98 kB / 406.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-05/0.5682, allocations: 4 kB / 406.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.5682, allocations: 3.953 kB / 406.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.57, allocations: 0.7874 MB / 407.1 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.5702, allocations: 132.4 kB / 407.2 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.5703, allocations: 16 kB / 407.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.5708, allocations: 47.92 kB / 407.3 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/0.5711, allocations: 108.7 kB / 407.4 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.234e-05/0.5712, allocations: 35.94 kB / 407.4 MB, free: 9.086 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002343/0.5715, allocations: 160.5 kB / 407.6 MB, free: 8.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5715, allocations: 0 / 407.6 MB, free: 8.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000868/0.5723, allocations: 171.9 kB / 407.8 MB, free: 8.762 MB / 346.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.002439/0.5748, allocations: 1.469 MB / 409.2 MB, free: 7.258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.577, allocations: 0.7376 MB / 410 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.577, allocations: 0 / 410 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009283/0.578, allocations: 381.9 kB / 410.3 MB, free: 6.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.5786, allocations: 76.36 kB / 410.4 MB, free: 6.078 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2799/0.8586, allocations: 6.867 MB / 417.3 MB, free: 94.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.8598, allocations: 0.9602 MB / 418.3 MB, free: 93.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001155/0.861, allocations: 104.5 kB / 418.4 MB, free: 93.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/0.8621, allocations: 263.5 kB / 418.6 MB, free: 93.7 MB / 346.7 MB Notification: Performance of SimCode: time 2.535e-06/0.8622, allocations: 0 / 418.6 MB, free: 93.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05255/0.9148, allocations: 11.85 MB / 430.5 MB, free: 89.95 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.9151, allocations: 182.2 kB / 430.6 MB, free: 89.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/4.043, allocations: 3.938 kB / 430.6 MB, free: 89.7 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat