Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01008/0.01008, allocations: 166.5 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.635/1.635, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001956/0.001956, allocations: 103.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4631/0.4631, allocations: 38.05 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005106/0.0005104, allocations: 8 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1112, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.464/0.5753, allocations: 83.93 MB / 495.6 MB, free: 3.996 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.5756, allocations: 62.42 kB / 495.7 MB, free: 3.969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.149/0.7246, allocations: 29.37 MB / 0.5127 GB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.7247, allocations: 4 kB / 0.5127 GB, free: 11.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.896e-05/0.7248, allocations: 16.44 kB / 0.5128 GB, free: 11.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003957/0.7288, allocations: 1.076 MB / 0.5138 GB, free: 9.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.7288, allocations: 8.031 kB / 0.5138 GB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000199/0.7291, allocations: 83.14 kB / 0.5139 GB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.7293, allocations: 83.06 kB / 0.514 GB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.7314, allocations: 0.5732 MB / 0.5145 GB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.7315, allocations: 37.31 kB / 0.5146 GB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.7317, allocations: 55.55 kB / 0.5146 GB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.7334, allocations: 0.5477 MB / 0.5152 GB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.7335, allocations: 0 / 0.5152 GB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-05/0.7335, allocations: 17.95 kB / 0.5152 GB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.7336, allocations: 12 kB / 0.5152 GB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.7354, allocations: 460.3 kB / 0.5156 GB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00548/0.7409, allocations: 1.923 MB / 0.5175 GB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.7429, allocations: 0.5097 MB / 0.518 GB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.714e-05/0.743, allocations: 9.297 kB / 0.518 GB, free: 6.152 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.7431, allocations: 34.84 kB / 0.518 GB, free: 6.109 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 5.3e-06/0.7431, allocations: 0 / 0.518 GB, free: 6.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.004739/0.7479, allocations: 1.142 MB / 0.5192 GB, free: 4.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.748, allocations: 110.8 kB / 0.5193 GB, free: 4.824 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.7494, allocations: 0.5229 MB / 0.5198 GB, free: 4.297 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.7495, allocations: 33.7 kB / 0.5198 GB, free: 4.258 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.7499, allocations: 324.4 kB / 0.5201 GB, free: 3.938 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.7502, allocations: 185.3 kB / 0.5203 GB, free: 3.754 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.7503, allocations: 12 kB / 0.5203 GB, free: 3.742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.7505, allocations: 382.7 kB / 0.5207 GB, free: 3.359 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.7517, allocations: 273 kB / 0.5209 GB, free: 3.094 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.753, allocations: 373 kB / 0.5213 GB, free: 2.691 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.7542, allocations: 307.7 kB / 0.5216 GB, free: 2.395 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.7542, allocations: 0 / 0.5216 GB, free: 2.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002954/0.7572, allocations: 0.7621 MB / 0.5223 GB, free: 1.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.7573, allocations: 4 kB / 0.5223 GB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.7573, allocations: 4 kB / 0.5223 GB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.7573, allocations: 4 kB / 0.5223 GB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.7592, allocations: 200 kB / 0.5225 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.7593, allocations: 7.984 kB / 0.5225 GB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.7603, allocations: 79.64 kB / 0.5226 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.807e-05/0.7604, allocations: 20 kB / 0.5226 GB, free: 1.316 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 1 * 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.000481/0.7609, allocations: 202.7 kB / 0.5228 GB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.7611, allocations: 71.16 kB / 0.5229 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.7614, allocations: 81.64 kB / 0.523 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7614, allocations: 8 kB / 0.523 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.7614, allocations: 3.984 kB / 0.523 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.7614, allocations: 0 / 0.523 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/0.7648, allocations: 1.234 MB / 0.5242 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.7648, allocations: 4 kB / 0.5242 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/0.7662, allocations: 115.9 kB / 0.5243 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.7662, allocations: 4 kB / 0.5243 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/0.7663, allocations: 19.98 kB / 0.5243 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.7663, allocations: 4 kB / 0.5243 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.7663, allocations: 3.938 kB / 0.5243 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.7702, allocations: 1.223 MB / 0.5255 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004845/0.7707, allocations: 188.3 kB / 0.5257 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.7709, allocations: 23.92 kB / 0.5257 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.7719, allocations: 59.94 kB / 0.5258 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.7721, allocations: 43.88 kB / 0.5258 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.7722, allocations: 12 kB / 0.5258 GB, free: 13.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.7733, allocations: 423 kB / 0.5262 GB, free: 13.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7733, allocations: 0 / 0.5262 GB, free: 13.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001019/0.7744, allocations: 151.9 kB / 0.5264 GB, free: 13.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.004544/0.7789, allocations: 2.1 MB / 0.5284 GB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002563/0.7815, allocations: 0.6155 MB / 0.529 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.7816, allocations: 0 / 0.529 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.7828, allocations: 299.8 kB / 0.5293 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.7843, allocations: 149.1 kB / 0.5295 GB, free: 10.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.798, allocations: 6.203 MB / 0.5355 GB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007536/0.7988, allocations: 0.9489 MB / 0.5364 GB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007292/0.7996, allocations: 96.64 kB / 0.5365 GB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006264/0.8002, allocations: 247.3 kB / 0.5368 GB, free: 2.496 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8002, allocations: 0 / 0.5368 GB, free: 2.496 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05293/0.8531, allocations: 13.09 MB / 0.5496 GB, free: 5.488 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/0.8535, allocations: 169.2 kB / 0.5497 GB, free: 5.254 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.188/4.041, allocations: 0 / 0.5497 GB, free: 5.254 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat