Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Continuous_InitialState",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.04071/0.04071, allocations: 164.6 kB / 15.11 MB, free: 6 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.642/1.642, allocations: 170.8 MB / 186.6 MB, free: 1.098 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.001965/0.001964, allocations: 106.6 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.4221/0.4221, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004736, allocations: 12 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1011, allocations: 48.7 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5214, allocations: 83.84 MB / 495.5 MB, free: 4.105 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5217, allocations: 70.81 kB / 495.6 MB, free: 4.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1403/0.662, allocations: 28.03 MB / 0.5113 GB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6621, allocations: 4 kB / 0.5113 GB, free: 12.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000101/0.6622, allocations: 20.44 kB / 0.5114 GB, free: 12.31 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.004668/0.6669, allocations: 1.066 MB / 0.5124 GB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.667, allocations: 12.03 kB / 0.5124 GB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002523/0.6672, allocations: 75.22 kB / 0.5125 GB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.6676, allocations: 86.97 kB / 0.5126 GB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/0.6701, allocations: 0.558 MB / 0.5131 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.078e-05/0.6702, allocations: 31.94 kB / 0.5131 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.6704, allocations: 52.25 kB / 0.5132 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/0.6731, allocations: 0.5633 MB / 0.5137 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/0.6732, allocations: 7.922 kB / 0.5137 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.6733, allocations: 18.27 kB / 0.5138 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.6734, allocations: 11.98 kB / 0.5138 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/0.6763, allocations: 473.1 kB / 0.5142 GB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007491/0.6838, allocations: 1.971 MB / 0.5162 GB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.6868, allocations: 0.5843 MB / 0.5167 GB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.499e-05/0.6869, allocations: 7.344 kB / 0.5167 GB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.687, allocations: 38.56 kB / 0.5168 GB, free: 7.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 6.813e-06/0.687, allocations: 96 / 0.5168 GB, free: 7.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.006331/0.6933, allocations: 1.154 MB / 0.5179 GB, free: 6.266 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.6935, allocations: 162.2 kB / 0.5181 GB, free: 6.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.6953, allocations: 0.5269 MB / 0.5186 GB, free: 5.539 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.6955, allocations: 37.7 kB / 0.5186 GB, free: 5.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004754/0.696, allocations: 320.4 kB / 0.5189 GB, free: 5.176 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.6963, allocations: 173.5 kB / 0.5191 GB, free: 5.004 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.6964, allocations: 8 kB / 0.5191 GB, free: 4.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000282/0.6967, allocations: 390.7 kB / 0.5195 GB, free: 4.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.6983, allocations: 277 kB / 0.5197 GB, free: 4.336 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.7001, allocations: 389.7 kB / 0.5201 GB, free: 3.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.7018, allocations: 314.2 kB / 0.5204 GB, free: 3.605 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7019, allocations: 0 / 0.5204 GB, free: 3.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.004062/0.706, allocations: 0.776 MB / 0.5211 GB, free: 2.824 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.706, allocations: 12.28 kB / 0.5212 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.706, allocations: 0 / 0.5212 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/0.7061, allocations: 8 kB / 0.5212 GB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.7078, allocations: 143.8 kB / 0.5213 GB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/0.7079, allocations: 8 kB / 0.5213 GB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.7093, allocations: 87.62 kB / 0.5214 GB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.923e-05/0.7094, allocations: 23.98 kB / 0.5214 GB, free: 2.547 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 (68): * Single equations (assignments): 68 * 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.0006255/0.7101, allocations: 206.6 kB / 0.5216 GB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/0.7104, allocations: 71.16 kB / 0.5217 GB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.7107, allocations: 89.56 kB / 0.5218 GB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.7108, allocations: 8.031 kB / 0.5218 GB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.7108, allocations: 0 / 0.5218 GB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.7108, allocations: 0 / 0.5218 GB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/0.7136, allocations: 0.8258 MB / 0.5226 GB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.7136, allocations: 0 / 0.5226 GB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/0.7154, allocations: 111.9 kB / 0.5227 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/0.7154, allocations: 4 kB / 0.5227 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.7155, allocations: 15.98 kB / 0.5227 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.7156, allocations: 4 kB / 0.5227 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7156, allocations: 0.6562 kB / 0.5227 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005229/0.7208, allocations: 1.215 MB / 0.5239 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006331/0.7215, allocations: 200.2 kB / 0.5241 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.7217, allocations: 16 kB / 0.5241 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/0.7233, allocations: 63.94 kB / 0.5242 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.7235, allocations: 39.89 kB / 0.5242 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.216e-05/0.7236, allocations: 12 kB / 0.5242 GB, free: 15.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001449/0.7251, allocations: 435 kB / 0.5246 GB, free: 15.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7251, allocations: 0 / 0.5246 GB, free: 15.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001331/0.7264, allocations: 124 kB / 0.5247 GB, free: 15.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 43 * 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.005776/0.7322, allocations: 1.906 MB / 0.5266 GB, free: 13.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00282/0.7351, allocations: 0.6142 MB / 0.5272 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7351, allocations: 0 / 0.5272 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.7364, allocations: 299.7 kB / 0.5275 GB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.7379, allocations: 147.2 kB / 0.5276 GB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.7516, allocations: 6.211 MB / 0.5337 GB, free: 5.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007149/0.7524, allocations: 0.9411 MB / 0.5346 GB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007573/0.7532, allocations: 120.6 kB / 0.5347 GB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000588/0.7538, allocations: 235.4 kB / 0.535 GB, free: 4.391 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7538, allocations: 0 / 0.535 GB, free: 4.391 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04402/0.7978, allocations: 12.46 MB / 0.5471 GB, free: 8.008 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/0.7982, allocations: 180 kB / 0.5473 GB, free: 7.762 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.647, allocations: 0 / 0.5473 GB, free: 7.762 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat