Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009803/0.009803, allocations: 176 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.014/2.014, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002085/0.002071, allocations: 128.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2656/0.2656, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006732/0.0006732, allocations: 10.34 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.104, allocations: 54.88 MB / 461.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.2483, allocations: 79.79 MB / 0.5282 GB, free: 3.309 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.2486, allocations: 67.95 kB / 0.5283 GB, free: 3.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006491/0.2551, allocations: 1.657 MB / 0.5299 GB, free: 1.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2552, allocations: 4 kB / 0.5299 GB, free: 1.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2552, allocations: 0 / 0.5299 GB, free: 1.578 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003778/0.2556, allocations: 369 kB / 0.5303 GB, free: 1.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.2557, allocations: 8.031 kB / 0.5303 GB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.2557, allocations: 34.56 kB / 0.5303 GB, free: 1.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.2557, allocations: 3.953 kB / 0.5303 GB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.2559, allocations: 159.1 kB / 0.5305 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.2559, allocations: 4 kB / 0.5305 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.256, allocations: 0 / 0.5305 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.205e-05/0.2561, allocations: 33.69 kB / 0.5305 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2561, allocations: 3.938 kB / 0.5305 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.2561, allocations: 4 kB / 0.5305 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2561, allocations: 0 / 0.5305 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.2561, allocations: 3.953 kB / 0.5305 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.2563, allocations: 141.7 kB / 0.5307 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.2564, allocations: 26.55 kB / 0.5307 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.2564, allocations: 0 / 0.5307 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.2565, allocations: 64.25 kB / 0.5308 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.2565, allocations: 0 / 0.5308 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001935/0.2567, allocations: 59.47 kB / 0.5308 GB, free: 500 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.2567, allocations: 81.05 kB / 0.5309 GB, free: 400 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.273e-05/0.2568, allocations: 89 kB / 0.531 GB, free: 304 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.2568, allocations: 25.7 kB / 0.531 GB, free: 272 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.2569, allocations: 84.14 kB / 0.5311 GB, free: 184 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.2569, allocations: 128 / 0.5311 GB, free: 184 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.2569, allocations: 4 kB / 0.5311 GB, free: 180 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.3648/0.6218, allocations: 315.3 kB / 0.5314 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-05/0.6219, allocations: 0 / 0.5314 GB, free: 82.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.6219, allocations: 5.172 kB / 0.5314 GB, free: 82.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.294e-05/0.6219, allocations: 30.17 kB / 0.5314 GB, free: 82.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.622, allocations: 0 / 0.5314 GB, free: 82.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001145/0.6221, allocations: 57.78 kB / 0.5315 GB, free: 82.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.6221, allocations: 35.34 kB / 0.5315 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6221, allocations: 0.6875 kB / 0.5315 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.6222, allocations: 0 / 0.5315 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-06/0.6222, allocations: 1.594 kB / 0.5315 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.6222, allocations: 5.312 kB / 0.5315 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.6222, allocations: 5.562 kB / 0.5315 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.6223, allocations: 0.5 kB / 0.5315 GB, free: 82.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.707e-05/0.6223, allocations: 144.5 kB / 0.5317 GB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.6224, allocations: 3.656 kB / 0.5317 GB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.41e-05/0.6224, allocations: 8.297 kB / 0.5317 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6224, allocations: 1.516 kB / 0.5317 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6224, allocations: 0 / 0.5317 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6224, allocations: 1.125 kB / 0.5317 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.42e-05/0.6225, allocations: 149.4 kB / 0.5318 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6225, allocations: 0.5625 kB / 0.5318 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-06/0.6225, allocations: 3.797 kB / 0.5318 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6225, allocations: 0 / 0.5318 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.6226, allocations: 2.062 kB / 0.5318 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6226, allocations: 1.453 kB / 0.5318 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6226, allocations: 1.188 kB / 0.5318 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.6227, allocations: 98.25 kB / 0.5319 GB, free: 81.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.6227, allocations: 77.72 kB / 0.532 GB, free: 81.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.6228, allocations: 2 kB / 0.532 GB, free: 81.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.376e-05/0.6228, allocations: 5.281 kB / 0.532 GB, free: 81.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.6228, allocations: 2.375 kB / 0.532 GB, free: 81.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.6228, allocations: 1.938 kB / 0.532 GB, free: 81.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.643e-05/0.6228, allocations: 75.28 kB / 0.5321 GB, free: 81.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6229, allocations: 3.438 kB / 0.5321 GB, free: 81.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.6232, allocations: 30.91 kB / 0.5321 GB, free: 81.57 MB / 378.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008603/0.624, allocations: 0.8048 MB / 0.5329 GB, free: 80.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.958e-05/0.6241, allocations: 60.41 kB / 0.5329 GB, free: 80.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6242, allocations: 0 / 0.5329 GB, free: 80.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.6242, allocations: 55.38 kB / 0.533 GB, free: 80.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.869e-05/0.6243, allocations: 3.938 kB / 0.533 GB, free: 80.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.6246, allocations: 131.5 kB / 0.5331 GB, free: 80.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.6248, allocations: 0.6743 MB / 0.5338 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.041e-06/0.6248, allocations: 0 / 0.5338 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.6248, allocations: 7.438 kB / 0.5338 GB, free: 79.95 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6248, allocations: 0 / 0.5338 GB, free: 79.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.6495, allocations: 1.367 MB / 0.5351 GB, free: 79.67 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.6498, allocations: 207.2 kB / 0.5353 GB, free: 79.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.23, allocations: 1.469 kB / 0.5353 GB, free: 79.43 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat