Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.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.ShowCompositeStep,fileNamePrefix="Modelica_3_2_2_Modelica_StateGraph_Examples_ShowCompositeStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.283/2.283, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004947, allocations: 8 kB / 264.1 MB, free: 2.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3578, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.4949, allocations: 72.52 MB / 381.1 MB, free: 4.047 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.4952, allocations: 67.97 kB / 381.1 MB, free: 3.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05576/0.551, allocations: 13.53 MB / 394.7 MB, free: 6.367 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5511, allocations: 4 kB / 394.7 MB, free: 6.363 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.669e-05/0.5512, allocations: 23.94 kB / 394.7 MB, free: 6.34 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002818/0.554, allocations: 0.9548 MB / 395.6 MB, free: 5.301 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.5541, allocations: 12.03 kB / 395.7 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004258/0.5545, allocations: 156.4 kB / 395.8 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.5548, allocations: 98.88 kB / 395.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.556, allocations: 493.9 kB / 396.4 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.5562, allocations: 102 kB / 396.5 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.5564, allocations: 112 kB / 396.6 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/0.5595, allocations: 1.024 MB / 397.6 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.5596, allocations: 3.938 kB / 397.6 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.5598, allocations: 40 kB / 397.7 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/0.5598, allocations: 24 kB / 397.7 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/0.5626, allocations: 0.8354 MB / 398.5 MB, free: 2.352 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006941/0.5695, allocations: 2.902 MB / 401.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.5716, allocations: 0.7264 MB / 402.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.5717, allocations: 20.98 kB / 402.2 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/0.5729, allocations: 417.1 kB / 402.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 4.839e-06/0.5729, allocations: 4 kB / 402.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.002753/0.5757, allocations: 0.945 MB / 403.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/0.5758, allocations: 84.31 kB / 403.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/0.5764, allocations: 316.9 kB / 403.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.5766, allocations: 81.69 kB / 404 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/0.577, allocations: 312.7 kB / 404.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.5774, allocations: 260.7 kB / 404.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.5775, allocations: 24 kB / 404.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.5777, allocations: 378.7 kB / 405 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000986/0.5787, allocations: 310.5 kB / 405.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.5799, allocations: 0.5333 MB / 405.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.5809, allocations: 322.3 kB / 406.1 MB, free: 10.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.581, allocations: 4 kB / 406.1 MB, free: 10.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002624/0.5836, allocations: 0.9684 MB / 407.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.5836, allocations: 8 kB / 407.1 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.5837, allocations: 8.812 kB / 407.1 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.334e-05/0.5837, allocations: 12 kB / 407.1 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007746/0.5845, allocations: 135.5 kB / 407.2 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.049e-05/0.5846, allocations: 12 kB / 407.2 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/0.5852, allocations: 75.66 kB / 407.3 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.5854, allocations: 51.98 kB / 407.4 MB, free: 9.234 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 133 ($PRE.compositeStep.transition3.enableFire,$PRE.compositeStep.transition4.enableFire,$PRE.compositeStep.transition5.enableFire,$PRE.compositeStep.transition6.enableFire,$PRE.compositeStep.transition4a.enableFire,$PRE.compositeStep.transition6a.enableFire,$PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition7.enableFire,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition,compositeStep.resume[1].set,compositeStep.suspend[1].reset,compositeStep.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,$PRE.compositeStep.newActive,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.enableFire,compositeStep.transition3.fire,$PRE.compositeStep.transition3.t_start,compositeStep.transition3.t_start,compositeStep.transition4.enableFire,compositeStep.transition4.fire,$PRE.compositeStep.transition4.t_start,compositeStep.transition4.t_start,$PRE.compositeStep.step3.localActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.oldActive,compositeStep.step3.active,$PRE.compositeStep.step4.localActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.enableFire,compositeStep.transition5.fire,$PRE.compositeStep.transition5.t_start,compositeStep.transition5.t_start,compositeStep.transition6.enableFire,compositeStep.transition6.fire,$PRE.compositeStep.transition6.t_start,compositeStep.transition6.t_start,compositeStep.transition4a.enableFire,compositeStep.transition4a.fire,$PRE.compositeStep.transition4a.t_start,compositeStep.transition4a.t_start,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.enableFire,compositeStep.transition6a.fire,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.t_start,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.localActive,compositeStep.initStep.outPort[1].reset,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.localActive,compositeStep.exitStep.inPort[1].set,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,$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,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps,compositeStep.stateGraphRoot.resume,compositeStep.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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.0008011/0.5862, allocations: 364.7 kB / 407.7 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.5864, allocations: 51.42 kB / 407.8 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.5886, allocations: 0.7847 MB / 408.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.5886, allocations: 8 kB / 408.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5886, allocations: 0 / 408.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.5887, allocations: 7.984 kB / 408.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004673/0.5934, allocations: 1.828 MB / 410.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.5934, allocations: 0 / 410.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.5939, allocations: 71.83 kB / 410.5 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.594, allocations: 4 kB / 410.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/0.594, allocations: 19.98 kB / 410.5 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.5941, allocations: 4 kB / 410.5 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5941, allocations: 4 kB / 410.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.596, allocations: 0.8199 MB / 411.3 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.5961, allocations: 124.4 kB / 411.5 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.5963, allocations: 20 kB / 411.5 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.5967, allocations: 43.97 kB / 411.5 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004139/0.5971, allocations: 140.7 kB / 411.7 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.947e-05/0.5972, allocations: 31.98 kB / 411.7 MB, free: 4.816 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002252/0.5975, allocations: 166 kB / 411.8 MB, free: 4.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5975, allocations: 0 / 411.8 MB, free: 4.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009132/0.5984, allocations: 175.9 kB / 412 MB, free: 4.484 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 80 (compositeStep.transition4a.enableFire,compositeStep.transition4.enableFire,step6.localActive,transition2.enableFire,transition1.enableFire,step1.localActive,step0.localActive,compositeStep.exitStep.localActive,compositeStep.transition5.enableFire,compositeStep.transition6.enableFire,compositeStep.transition6a.enableFire,compositeStep.initStep.localActive,compositeStep.transition3.enableFire,compositeStep.step4a.localActive,compositeStep.step4.localActive,compositeStep.step3.localActive,$cse1,$cse2,$cse3,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.fire,compositeStep.transition3.t_start,compositeStep.transition4.fire,compositeStep.transition4.t_start,compositeStep.step3.newActive,compositeStep.step3.oldActive,compositeStep.step3.active,compositeStep.step4.newActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.fire,compositeStep.transition5.t_start,compositeStep.transition6.fire,compositeStep.transition6.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.t_start,compositeStep.step4a.newActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.fire,compositeStep.transition6a.t_start,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.newActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.newActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,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,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps) * Number of discrete states: 9 (compositeStep.step3.newActive,compositeStep.step4.newActive,compositeStep.step4a.newActive,compositeStep.initStep.newActive,compositeStep.exitStep.newActive,compositeStep.newActive,step0.newActive,step1.newActive,step6.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 91 * 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.00253/0.601, allocations: 1.435 MB / 413.5 MB, free: 3.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002193/0.6032, allocations: 0.8354 MB / 414.3 MB, free: 2.188 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6032, allocations: 4.25 kB / 414.3 MB, free: 2.184 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.6042, allocations: 401.5 kB / 414.7 MB, free: 1.789 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.6048, allocations: 72.47 kB / 414.8 MB, free: 1.719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2613/0.8661, allocations: 7.561 MB / 422.3 MB, free: 88.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.8668, allocations: 0.9709 MB / 423.3 MB, free: 87.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000769/0.8676, allocations: 120.1 kB / 423.4 MB, free: 87.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007103/0.8683, allocations: 282.6 kB / 423.7 MB, free: 87.48 MB / 346.7 MB Notification: Performance of SimCode: time 1.001e-06/0.8683, allocations: 0 / 423.7 MB, free: 87.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04531/0.9137, allocations: 13.28 MB / 437 MB, free: 83.3 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/0.914, allocations: 172 kB / 437.1 MB, free: 83.06 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.219/4.133, allocations: 4 kB / 437.1 MB, free: 83.05 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep_res.mat does not exist to compare? outputFormat=mat