Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",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.01501/0.01501, allocations: 175.5 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 2.193/2.193, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.002042/0.002042, allocations: 128.6 kB / 255.6 MB, free: 10.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.2623/0.2623, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.000488, allocations: 11.53 kB / 406.3 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 54.88 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.817/7.924, allocations: 2.588 GB / 3.038 GB, free: 82.72 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/7.924, allocations: 88.11 kB / 3.038 GB, free: 82.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743/9.667, allocations: 312.9 MB / 3.344 GB, free: 68.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.683e-06/9.667, allocations: 1.125 kB / 3.344 GB, free: 68.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.008e-05/9.667, allocations: 8.766 kB / 3.344 GB, free: 68.56 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.005839/9.673, allocations: 1.353 MB / 3.345 GB, free: 67.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/9.673, allocations: 7.875 kB / 3.345 GB, free: 67.93 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/9.673, allocations: 71.84 kB / 3.345 GB, free: 67.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/9.675, allocations: 200.1 kB / 3.345 GB, free: 67.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007124/9.676, allocations: 359.8 kB / 3.346 GB, free: 67.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/9.676, allocations: 23.59 kB / 3.346 GB, free: 67.67 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/9.676, allocations: 29.33 kB / 3.346 GB, free: 67.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/9.678, allocations: 493.9 kB / 3.346 GB, free: 67.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/9.678, allocations: 4.781 kB / 3.346 GB, free: 67.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/9.678, allocations: 14 kB / 3.346 GB, free: 67.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/9.678, allocations: 7.031 kB / 3.346 GB, free: 67.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/9.68, allocations: 431.3 kB / 3.347 GB, free: 67.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/9.683, allocations: 2.292 MB / 3.349 GB, free: 65.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/9.685, allocations: 303.3 kB / 3.349 GB, free: 65.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05861/9.743, allocations: 15.65 MB / 3.364 GB, free: 58.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/9.743, allocations: 37.02 kB / 3.365 GB, free: 58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.176e-06/9.743, allocations: 0 / 3.365 GB, free: 58 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.002672/9.746, allocations: 0.4936 MB / 3.365 GB, free: 57.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/9.746, allocations: 106.6 kB / 3.365 GB, free: 57.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/9.747, allocations: 240 kB / 3.365 GB, free: 57.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/9.747, allocations: 29.02 kB / 3.365 GB, free: 57.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/9.747, allocations: 222 kB / 3.366 GB, free: 57.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/9.747, allocations: 59.67 kB / 3.366 GB, free: 57.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/9.747, allocations: 6.969 kB / 3.366 GB, free: 57.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/9.747, allocations: 339.7 kB / 3.366 GB, free: 57.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/9.747, allocations: 88.12 kB / 3.366 GB, free: 57.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/9.748, allocations: 219.4 kB / 3.366 GB, free: 57.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/9.748, allocations: 120.7 kB / 3.366 GB, free: 57.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/9.748, allocations: 3.75 kB / 3.366 GB, free: 57.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001108/9.749, allocations: 342.2 kB / 3.367 GB, free: 57.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/9.749, allocations: 7.875 kB / 3.367 GB, free: 57.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/9.749, allocations: 10.23 kB / 3.367 GB, free: 57.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/9.75, allocations: 7.875 kB / 3.367 GB, free: 57.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/9.75, allocations: 81 kB / 3.367 GB, free: 57.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/9.75, allocations: 8.219 kB / 3.367 GB, free: 57.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004154/9.75, allocations: 47.48 kB / 3.367 GB, free: 57.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/9.75, allocations: 22.72 kB / 3.367 GB, free: 57.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002244/9.751, allocations: 166.7 kB / 3.367 GB, free: 56.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/9.751, allocations: 23 kB / 3.367 GB, free: 56.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/9.752, allocations: 0.9574 MB / 3.368 GB, free: 56.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/9.753, allocations: 10.97 kB / 3.368 GB, free: 56.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/9.753, allocations: 0 / 3.368 GB, free: 56.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/9.753, allocations: 3.125 kB / 3.368 GB, free: 56.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007388/9.753, allocations: 0.5724 MB / 3.369 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/9.753, allocations: 0 / 3.369 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/9.754, allocations: 57.16 kB / 3.369 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/9.754, allocations: 3.219 kB / 3.369 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/9.754, allocations: 0 / 3.369 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/9.754, allocations: 3.625 kB / 3.369 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/9.754, allocations: 0 / 3.369 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009282/9.755, allocations: 0.53 MB / 3.369 GB, free: 56.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/9.755, allocations: 152.1 kB / 3.369 GB, free: 56.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/9.755, allocations: 7.047 kB / 3.369 GB, free: 56.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/9.755, allocations: 26.84 kB / 3.369 GB, free: 56.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/9.755, allocations: 14.7 kB / 3.369 GB, free: 56.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/9.755, allocations: 12.33 kB / 3.369 GB, free: 56.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002899/9.756, allocations: 229.3 kB / 3.37 GB, free: 56.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/9.756, allocations: 0 / 3.37 GB, free: 56.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004567/9.76, allocations: 0.8605 MB / 3.37 GB, free: 56.02 MB / 490.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: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0112/9.771, allocations: 2.252 MB / 3.373 GB, free: 55.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001181/9.773, allocations: 317.2 kB / 3.373 GB, free: 55.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/9.773, allocations: 0 / 3.373 GB, free: 55.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/9.773, allocations: 214.4 kB / 3.373 GB, free: 55.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/9.774, allocations: 132.3 kB / 3.373 GB, free: 55.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1967/9.971, allocations: 59.56 MB / 3.431 GB, free: 49.44 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/9.972, allocations: 0.8525 MB / 3.432 GB, free: 48.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005491/9.972, allocations: 156.4 kB / 3.432 GB, free: 48.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/9.972, allocations: 146.6 kB / 3.433 GB, free: 48.72 MB / 490.7 MB Notification: Performance of SimCode: time 1.754e-06/9.972, allocations: 0 / 3.433 GB, free: 48.72 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08696/10.06, allocations: 32.77 MB / 3.465 GB, free: 35.51 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/10.06, allocations: 237.9 kB / 3.465 GB, free: 35.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.967/14.03, allocations: 4 kB / 3.465 GB, free: 35.27 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat