Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.0208/0.0208, allocations: 176.5 kB / 15.12 MB, free: 5.984 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.99/1.99, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.002055/0.002055, allocations: 104.7 kB / 255.6 MB, free: 11.22 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.2645/0.2645, allocations: 40.02 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006755/0.0006757, allocations: 9.938 kB / 406.3 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1191, allocations: 54.88 MB / 461.1 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.2616, allocations: 79.17 MB / 0.5276 GB, free: 4.051 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.2619, allocations: 67.97 kB / 0.5277 GB, free: 3.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002386/0.2643, allocations: 0.6288 MB / 0.5283 GB, free: 3.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2643, allocations: 0 / 0.5283 GB, free: 3.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.2644, allocations: 4 kB / 0.5283 GB, free: 3.344 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003059/0.2647, allocations: 319.4 kB / 0.5286 GB, free: 2.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2647, allocations: 8.031 kB / 0.5286 GB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.2648, allocations: 30.56 kB / 0.5287 GB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.2648, allocations: 3.953 kB / 0.5287 GB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.265, allocations: 175 kB / 0.5288 GB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.265, allocations: 0 / 0.5288 GB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.265, allocations: 7.984 kB / 0.5288 GB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.444e-05/0.2651, allocations: 37.62 kB / 0.5289 GB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2651, allocations: 0 / 0.5289 GB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2652, allocations: 0 / 0.5289 GB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2652, allocations: 0 / 0.5289 GB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.394e-05/0.2652, allocations: 15.94 kB / 0.5289 GB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.2654, allocations: 149.6 kB / 0.529 GB, free: 2.461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.2656, allocations: 46.55 kB / 0.5291 GB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/0.2661, allocations: 117.2 kB / 0.5292 GB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.2661, allocations: 34.56 kB / 0.5292 GB, free: 2.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.2661, allocations: 0 / 0.5292 GB, free: 2.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.002031/0.2682, allocations: 209.4 kB / 0.5294 GB, free: 2.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2682, allocations: 51.41 kB / 0.5295 GB, free: 1.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/0.2683, allocations: 92.95 kB / 0.5296 GB, free: 1.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.2684, allocations: 29.7 kB / 0.5296 GB, free: 1.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.2684, allocations: 80.14 kB / 0.5297 GB, free: 1.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.2685, allocations: 15.8 kB / 0.5297 GB, free: 1.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.2685, allocations: 0 / 0.5297 GB, free: 1.727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.2686, allocations: 314.8 kB / 0.53 GB, free: 1.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.2688, allocations: 19.98 kB / 0.53 GB, free: 1.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.2689, allocations: 28.11 kB / 0.53 GB, free: 1.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.2691, allocations: 23.92 kB / 0.53 GB, free: 1.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2691, allocations: 0 / 0.53 GB, free: 1.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003537/0.2694, allocations: 93.59 kB / 0.5301 GB, free: 1.242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.2695, allocations: 8 kB / 0.5301 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2695, allocations: 0 / 0.5301 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2695, allocations: 0 / 0.5301 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.2697, allocations: 15.98 kB / 0.5302 GB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2698, allocations: 0 / 0.5302 GB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.2699, allocations: 7.984 kB / 0.5302 GB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2699, allocations: 7.953 kB / 0.5302 GB, free: 1.203 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: 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 8.991e-05/0.27, allocations: 109.8 kB / 0.5303 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.2701, allocations: 7.906 kB / 0.5303 GB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.2705, allocations: 105.3 kB / 0.5304 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2705, allocations: 4 kB / 0.5304 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2705, allocations: 0 / 0.5304 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2706, allocations: 0 / 0.5304 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009936/0.2716, allocations: 367.3 kB / 0.5307 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2716, allocations: 0 / 0.5307 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.2718, allocations: 15.98 kB / 0.5308 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.2718, allocations: 4 kB / 0.5308 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2718, allocations: 0 / 0.5308 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2718, allocations: 0 / 0.5308 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.2718, allocations: 3.953 kB / 0.5308 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.2723, allocations: 198.1 kB / 0.531 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.2723, allocations: 77.11 kB / 0.531 GB, free: 216 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2723, allocations: 3.984 kB / 0.531 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.2725, allocations: 19.95 kB / 0.5311 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.2726, allocations: 12.19 kB / 0.5311 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.2726, allocations: 4 kB / 0.5311 GB, free: 176 kB / 378.7 MB Notification: Performance of sorting global known variables: time 3.563e-05/0.2726, allocations: 75.28 kB / 0.5311 GB, free: 100 kB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2726, allocations: 0 / 0.5311 GB, free: 100 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002921/0.2729, allocations: 8 kB / 0.5311 GB, free: 92 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.2924/0.5653, allocations: 0.8026 MB / 0.5319 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003503/0.5657, allocations: 57.77 kB / 0.532 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5658, allocations: 4.938 kB / 0.532 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.5659, allocations: 32.06 kB / 0.532 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.5661, allocations: 0.9375 kB / 0.532 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007475/0.5669, allocations: 177.8 kB / 0.5322 GB, free: 82.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.567, allocations: 0.6808 MB / 0.5329 GB, free: 81.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.211e-05/0.5671, allocations: 7.328 kB / 0.5329 GB, free: 81.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.5672, allocations: 14.48 kB / 0.5329 GB, free: 81.55 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.5672, allocations: 1.156 kB / 0.5329 GB, free: 81.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.5876, allocations: 1.218 MB / 0.5341 GB, free: 81.39 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.5878, allocations: 179 kB / 0.5342 GB, free: 81.15 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/2.861, allocations: 0 / 0.5342 GB, free: 81.15 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat