Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.01458/0.01458, allocations: 176.1 kB / 15.12 MB, free: 5.93 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 1.985/1.985, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.00296/0.00296, allocations: 124.6 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.2611/0.2611, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004941, allocations: 9.938 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1211, allocations: 54.88 MB / 461.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.2669, allocations: 79.17 MB / 0.5276 GB, free: 3.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.2672, allocations: 63.97 kB / 0.5277 GB, free: 3.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001945/0.2691, allocations: 0.5787 MB / 0.5283 GB, free: 3.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2691, allocations: 0 / 0.5283 GB, free: 3.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.2692, allocations: 0 / 0.5283 GB, free: 3.285 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003551/0.2695, allocations: 323.4 kB / 0.5286 GB, free: 2.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.2696, allocations: 15.97 kB / 0.5286 GB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.2696, allocations: 38.55 kB / 0.5286 GB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.2697, allocations: 3.953 kB / 0.5286 GB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.2698, allocations: 167 kB / 0.5288 GB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.2698, allocations: 4 kB / 0.5288 GB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2699, allocations: 4 kB / 0.5288 GB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.27, allocations: 51.41 kB / 0.5289 GB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.27, allocations: 0 / 0.5289 GB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2701, allocations: 4 kB / 0.5289 GB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.2701, allocations: 0 / 0.5289 GB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.308e-05/0.2702, allocations: 23.88 kB / 0.5289 GB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.2705, allocations: 317.2 kB / 0.5292 GB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.311e-05/0.2706, allocations: 18.58 kB / 0.5292 GB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.2706, allocations: 0 / 0.5292 GB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.2707, allocations: 34.56 kB / 0.5292 GB, free: 2.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2707, allocations: 0 / 0.5292 GB, free: 2.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002334/0.2709, allocations: 69.75 kB / 0.5293 GB, free: 2.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.271, allocations: 55.41 kB / 0.5293 GB, free: 1.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.2711, allocations: 89 kB / 0.5294 GB, free: 1.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.2711, allocations: 25.7 kB / 0.5295 GB, free: 1.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.2711, allocations: 80.14 kB / 0.5295 GB, free: 1.773 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.2712, allocations: 11.81 kB / 0.5295 GB, free: 1.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.2712, allocations: 4.125 kB / 0.5296 GB, free: 1.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2713, allocations: 318.8 kB / 0.5299 GB, free: 1.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/0.2714, allocations: 7.938 kB / 0.5299 GB, free: 1.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.054e-05/0.2714, allocations: 25.72 kB / 0.5299 GB, free: 1.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.622e-05/0.2715, allocations: 11.98 kB / 0.5299 GB, free: 1.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2715, allocations: 0 / 0.5299 GB, free: 1.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001343/0.2717, allocations: 53.62 kB / 0.5299 GB, free: 1.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2717, allocations: 12.02 kB / 0.53 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2717, allocations: 0 / 0.53 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2717, allocations: 4 kB / 0.53 GB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.2718, allocations: 4 kB / 0.53 GB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.2719, allocations: 7.953 kB / 0.53 GB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.902e-05/0.2719, allocations: 3.938 kB / 0.53 GB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.2719, allocations: 3.938 kB / 0.53 GB, free: 1.293 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 9.109e-05/0.272, allocations: 116.6 kB / 0.5301 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.2721, allocations: 3.906 kB / 0.5301 GB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.2723, allocations: 69.17 kB / 0.5302 GB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2723, allocations: 0 / 0.5302 GB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2723, allocations: 0 / 0.5302 GB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2723, allocations: 3.953 kB / 0.5302 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.2725, allocations: 161.6 kB / 0.5303 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2725, allocations: 0 / 0.5303 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.862e-05/0.2726, allocations: 4 kB / 0.5303 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2726, allocations: 3.938 kB / 0.5303 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2726, allocations: 4 kB / 0.5303 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2726, allocations: 0 / 0.5303 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2726, allocations: 4 kB / 0.5303 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.2728, allocations: 151.5 kB / 0.5305 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.2729, allocations: 77.11 kB / 0.5306 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.2729, allocations: 4 kB / 0.5306 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.464e-05/0.273, allocations: 256 / 0.5306 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.273, allocations: 3.984 kB / 0.5306 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.273, allocations: 8 kB / 0.5306 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.913e-05/0.2731, allocations: 79.28 kB / 0.5306 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2731, allocations: 0 / 0.5306 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.2734, allocations: 8 kB / 0.5307 GB, free: 0.5039 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.291/0.5644, allocations: 0.6924 MB / 0.5313 GB, free: 83.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.5646, allocations: 24.97 kB / 0.5314 GB, free: 83.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5646, allocations: 0.6875 kB / 0.5314 GB, free: 83.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.702e-05/0.5647, allocations: 18.53 kB / 0.5314 GB, free: 83.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.5649, allocations: 1.062 kB / 0.5314 GB, free: 83.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.5653, allocations: 140.3 kB / 0.5315 GB, free: 82.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.5655, allocations: 0.6811 MB / 0.5322 GB, free: 82.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.009e-05/0.5655, allocations: 8.125 kB / 0.5322 GB, free: 82.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.5656, allocations: 9.125 kB / 0.5322 GB, free: 82.21 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5656, allocations: 0 / 0.5322 GB, free: 82.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.5839, allocations: 1.047 MB / 0.5332 GB, free: 82.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/0.5842, allocations: 196.9 kB / 0.5334 GB, free: 81.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.016, allocations: 0 / 0.5334 GB, free: 81.8 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat