Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_2_1_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.736/1.736, allocations: 171.1 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004906, allocations: 8 kB / 233.3 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08386/0.0844, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3705/0.4549, allocations: 66.76 MB / 338.9 MB, free: 6.098 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.4552, allocations: 67.34 kB / 339 MB, free: 6.066 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05133/0.5066, allocations: 11.44 MB / 350.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5066, allocations: 0 / 350.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.384e-05/0.5067, allocations: 24.16 kB / 350.4 MB, free: 12.16 MB / 282.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.002049/0.5088, allocations: 0.9142 MB / 351.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5088, allocations: 12.03 kB / 351.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.5091, allocations: 144.5 kB / 351.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.5093, allocations: 90.95 kB / 351.6 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008823/0.5102, allocations: 437.7 kB / 352 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.5103, allocations: 81.25 kB / 352.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.5106, allocations: 118.2 kB / 352.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.5128, allocations: 0.9257 MB / 353.1 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.5129, allocations: 7.922 kB / 353.1 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.513, allocations: 35.56 kB / 353.2 MB, free: 9.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.5131, allocations: 24 kB / 353.2 MB, free: 9.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.5151, allocations: 0.7233 MB / 353.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004946/0.5201, allocations: 2.341 MB / 356.2 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.5216, allocations: 0.6594 MB / 356.9 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.125e-05/0.5218, allocations: 24.55 kB / 356.9 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009861/0.5227, allocations: 427.5 kB / 357.3 MB, free: 6.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 4.819e-06/0.5228, allocations: 0 / 357.3 MB, free: 6.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=99): time 0.002252/0.525, allocations: 0.8347 MB / 358.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/0.5252, allocations: 101.8 kB / 358.3 MB, free: 5.902 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.5257, allocations: 305.7 kB / 358.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001619/0.5258, allocations: 77 kB / 358.7 MB, free: 5.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.5261, allocations: 284.1 kB / 358.9 MB, free: 5.367 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.5264, allocations: 240 kB / 359.2 MB, free: 5.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.5265, allocations: 24.5 kB / 359.2 MB, free: 5.168 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.5267, allocations: 364.3 kB / 359.5 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007349/0.5275, allocations: 265.9 kB / 359.8 MB, free: 4.656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000915/0.5284, allocations: 483.2 kB / 360.3 MB, free: 4.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007241/0.5291, allocations: 270 kB / 360.5 MB, free: 4.055 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.5291, allocations: 4 kB / 360.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002092/0.5312, allocations: 0.8613 MB / 361.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.5313, allocations: 9.094 kB / 361.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.5313, allocations: 4 kB / 361.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.91e-05/0.5314, allocations: 15.98 kB / 361.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.5321, allocations: 121.6 kB / 361.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/0.5322, allocations: 8 kB / 361.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.5327, allocations: 85.73 kB / 361.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.5329, allocations: 45.19 kB / 361.7 MB, free: 3.164 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,$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.0006057/0.5335, allocations: 299.7 kB / 362 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.5336, allocations: 51.42 kB / 362 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.5355, allocations: 0.7484 MB / 362.8 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.5356, allocations: 8 kB / 362.8 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5356, allocations: 4 kB / 362.8 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.5356, allocations: 3.984 kB / 362.8 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/0.5397, allocations: 1.678 MB / 364.5 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.5397, allocations: 0 / 364.5 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005027/0.5402, allocations: 63.66 kB / 364.5 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/0.5403, allocations: 4 kB / 364.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.5403, allocations: 27.17 kB / 364.6 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/0.5404, allocations: 4 kB / 364.6 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5404, allocations: 3.938 kB / 364.6 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.542, allocations: 0.8023 MB / 365.4 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.5421, allocations: 124.5 kB / 365.5 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.5422, allocations: 22.81 kB / 365.5 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.5427, allocations: 38.97 kB / 365.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.543, allocations: 103.7 kB / 365.7 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.5431, allocations: 39.61 kB / 365.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.5433, allocations: 151.2 kB / 365.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5433, allocations: 4 kB / 365.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008481/0.5442, allocations: 178.2 kB / 366 MB, free: 15.71 MB / 298.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.002165/0.5463, allocations: 1.466 MB / 367.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.5482, allocations: 0.7415 MB / 368.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5483, allocations: 0 / 368.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008436/0.5491, allocations: 376.8 kB / 368.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.5497, allocations: 79.27 kB / 368.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.5624, allocations: 6.886 MB / 375.6 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.5637, allocations: 0.9542 MB / 376.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000968/0.5648, allocations: 117.9 kB / 376.6 MB, free: 6.012 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/0.5658, allocations: 260.5 kB / 376.9 MB, free: 5.809 MB / 298.7 MB Notification: Performance of SimCode: time 1.813e-06/0.5659, allocations: 0 / 376.9 MB, free: 5.809 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05311/0.619, allocations: 11.85 MB / 388.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003459/0.6194, allocations: 173.6 kB / 388.9 MB, free: 9.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/3.787, allocations: 0 / 388.9 MB, free: 9.77 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat