Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.01046/0.01046, allocations: 176.1 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.974/1.974, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.002128/0.002127, allocations: 112.7 kB / 255.6 MB, free: 11.2 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.2758/0.2758, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005321/0.0005321, allocations: 11.92 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.118, allocations: 54.87 MB / 461.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.2698, allocations: 79.27 MB / 0.5277 GB, free: 3.938 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.2701, allocations: 67.97 kB / 0.5278 GB, free: 3.871 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003905/0.2741, allocations: 0.9056 MB / 0.5287 GB, free: 2.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2741, allocations: 0 / 0.5287 GB, free: 2.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.2742, allocations: 7.938 kB / 0.5287 GB, free: 2.949 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000368/0.2745, allocations: 335.4 kB / 0.529 GB, free: 2.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.2746, allocations: 11.97 kB / 0.529 GB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.2747, allocations: 34.56 kB / 0.5291 GB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.2747, allocations: 7.953 kB / 0.5291 GB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.2748, allocations: 167 kB / 0.5292 GB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.2749, allocations: 7.984 kB / 0.5292 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2749, allocations: 4 kB / 0.5292 GB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.2751, allocations: 61.62 kB / 0.5293 GB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2751, allocations: 0 / 0.5293 GB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2751, allocations: 0 / 0.5293 GB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2751, allocations: 224 / 0.5293 GB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.2753, allocations: 59.89 kB / 0.5294 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.2755, allocations: 173.5 kB / 0.5295 GB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.2757, allocations: 74.81 kB / 0.5296 GB, free: 1.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00049/0.2762, allocations: 255.2 kB / 0.5298 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.2763, allocations: 34.56 kB / 0.5299 GB, free: 1.523 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.694e-06/0.2763, allocations: 0 / 0.5299 GB, free: 1.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003308/0.2766, allocations: 97.61 kB / 0.53 GB, free: 1.422 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.2767, allocations: 55.41 kB / 0.53 GB, free: 1.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.2768, allocations: 85 kB / 0.5301 GB, free: 1.266 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.2768, allocations: 29.7 kB / 0.5301 GB, free: 1.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.2769, allocations: 84.27 kB / 0.5302 GB, free: 1.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.294e-05/0.2769, allocations: 35.45 kB / 0.5302 GB, free: 1.109 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.277, allocations: 0 / 0.5302 GB, free: 1.109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2771, allocations: 323.2 kB / 0.5305 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.2772, allocations: 15.98 kB / 0.5306 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.2773, allocations: 19.92 kB / 0.5306 GB, free: 0.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.766e-05/0.2773, allocations: 20 kB / 0.5306 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2774, allocations: 0 / 0.5306 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002109/0.2776, allocations: 81.62 kB / 0.5307 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2776, allocations: 6.031 kB / 0.5307 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2776, allocations: 4 kB / 0.5307 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2777, allocations: 4 kB / 0.5307 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.2778, allocations: 19.92 kB / 0.5307 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2778, allocations: 0 / 0.5307 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.188e-05/0.2779, allocations: 3.906 kB / 0.5307 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2779, allocations: 4 kB / 0.5307 GB, free: 0.6055 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 (10): * Single equations (assignments): 10 * 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.0001107/0.278, allocations: 117.8 kB / 0.5308 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.2781, allocations: 0 / 0.5308 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.2784, allocations: 101.6 kB / 0.5309 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.2784, allocations: 4 kB / 0.5309 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2784, allocations: 0 / 0.5309 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2784, allocations: 3.984 kB / 0.5309 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.2786, allocations: 177.5 kB / 0.5311 GB, free: 144 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.2786, allocations: 4 kB / 0.5311 GB, free: 140 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.2788, allocations: 19.98 kB / 0.5311 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.2788, allocations: 0 / 0.5311 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2788, allocations: 384 / 0.5311 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2788, allocations: 3.938 kB / 0.5311 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.2788, allocations: 11.94 kB / 0.5311 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3169/0.5957, allocations: 103.5 kB / 0.5312 GB, free: 83.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.5958, allocations: 81.53 kB / 0.5313 GB, free: 83.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.5959, allocations: 3.906 kB / 0.5313 GB, free: 83.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.596, allocations: 0.875 kB / 0.5313 GB, free: 83.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.596, allocations: 10.3 kB / 0.5313 GB, free: 83.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.596, allocations: 3.312 kB / 0.5313 GB, free: 83.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.268e-05/0.5961, allocations: 77.25 kB / 0.5314 GB, free: 83.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5961, allocations: 0.7812 kB / 0.5314 GB, free: 83.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.5964, allocations: 23.55 kB / 0.5314 GB, free: 83.09 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 (10): * Single equations (assignments): 10 * 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.0005222/0.5969, allocations: 0.6532 MB / 0.5321 GB, free: 82.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.5971, allocations: 53.3 kB / 0.5321 GB, free: 82.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5971, allocations: 0 / 0.5321 GB, free: 82.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.059e-05/0.5972, allocations: 32.62 kB / 0.5322 GB, free: 82.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.5974, allocations: 7.547 kB / 0.5322 GB, free: 82.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.5979, allocations: 194.4 kB / 0.5323 GB, free: 82.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.5981, allocations: 0.6817 MB / 0.533 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.036e-05/0.5981, allocations: 11.25 kB / 0.533 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.5982, allocations: 18.92 kB / 0.533 GB, free: 81.64 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5982, allocations: 0 / 0.533 GB, free: 81.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.6201, allocations: 1.333 MB / 0.5343 GB, free: 81.45 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002663/0.6204, allocations: 179.5 kB / 0.5345 GB, free: 81.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/2.998, allocations: 0 / 0.5345 GB, free: 81.21 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat