Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01167/0.01167, allocations: 165.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.891/1.891, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001956/0.001956, allocations: 114.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4984/0.4984, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004951, allocations: 8 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1159, allocations: 48.7 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.444/1.56, allocations: 363.6 MB / 0.7571 GB, free: 116.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/1.561, allocations: 78.86 kB / 0.7572 GB, free: 116.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07072/1.631, allocations: 18.83 MB / 0.7756 GB, free: 114 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.631, allocations: 3.938 kB / 0.7756 GB, free: 114 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/1.632, allocations: 6.984 kB / 0.7756 GB, free: 114 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001498/1.633, allocations: 0.579 MB / 0.7761 GB, free: 113.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/1.633, allocations: 13.78 kB / 0.7762 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.185e-05/1.633, allocations: 55.3 kB / 0.7762 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/1.633, allocations: 27.31 kB / 0.7762 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/1.634, allocations: 225.6 kB / 0.7764 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/1.634, allocations: 127.5 kB / 0.7766 GB, free: 113.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/1.634, allocations: 20.03 kB / 0.7766 GB, free: 113.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/1.635, allocations: 327.3 kB / 0.7769 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/1.635, allocations: 0 / 0.7769 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/1.635, allocations: 16.75 kB / 0.7769 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/1.635, allocations: 6.062 kB / 0.7769 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/1.636, allocations: 0.7455 MB / 0.7776 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/1.638, allocations: 1.232 MB / 0.7789 GB, free: 111.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/1.638, allocations: 153.8 kB / 0.779 GB, free: 111.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002948/1.641, allocations: 2.78 MB / 0.7817 GB, free: 108.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/1.641, allocations: 34.44 kB / 0.7817 GB, free: 108.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.355e-06/1.641, allocations: 4 kB / 0.7818 GB, free: 108.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004548/1.642, allocations: 128.4 kB / 0.7819 GB, free: 108.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/1.642, allocations: 53.97 kB / 0.7819 GB, free: 108.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/1.642, allocations: 191.8 kB / 0.7821 GB, free: 108.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/1.642, allocations: 29.27 kB / 0.7821 GB, free: 108.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/1.642, allocations: 213.9 kB / 0.7823 GB, free: 108.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/1.642, allocations: 49.66 kB / 0.7824 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/1.642, allocations: 7.125 kB / 0.7824 GB, free: 108.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/1.642, allocations: 336.7 kB / 0.7827 GB, free: 107.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/1.642, allocations: 48.42 kB / 0.7828 GB, free: 107.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/1.643, allocations: 326.8 kB / 0.7831 GB, free: 107.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/1.643, allocations: 100.1 kB / 0.7832 GB, free: 107.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.643, allocations: 3.875 kB / 0.7832 GB, free: 107.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008076/1.644, allocations: 377 kB / 0.7835 GB, free: 107.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/1.644, allocations: 9.594 kB / 0.7835 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/1.644, allocations: 10.03 kB / 0.7835 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/1.644, allocations: 14.75 kB / 0.7836 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/1.644, allocations: 97.55 kB / 0.7837 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/1.644, allocations: 24.36 kB / 0.7837 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/1.645, allocations: 52.91 kB / 0.7837 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/1.645, allocations: 26.12 kB / 0.7838 GB, free: 107.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001564/1.645, allocations: 161.5 kB / 0.7839 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/1.645, allocations: 19.84 kB / 0.7839 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/1.646, allocations: 171.3 kB / 0.7841 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/1.646, allocations: 0 / 0.7841 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.646, allocations: 4 kB / 0.7841 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.646, allocations: 3.984 kB / 0.7841 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006542/1.646, allocations: 429.8 kB / 0.7845 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.646, allocations: 1.062 kB / 0.7845 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/1.646, allocations: 16.56 kB / 0.7845 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/1.646, allocations: 2.562 kB / 0.7845 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/1.646, allocations: 10.39 kB / 0.7845 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.646, allocations: 1.406 kB / 0.7845 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.646, allocations: 5.234 kB / 0.7845 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/1.647, allocations: 253.7 kB / 0.7848 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/1.647, allocations: 124 kB / 0.7849 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/1.647, allocations: 5.156 kB / 0.7849 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/1.647, allocations: 8.188 kB / 0.7849 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/1.647, allocations: 12.17 kB / 0.7849 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/1.647, allocations: 11.84 kB / 0.7849 GB, free: 106.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001835/1.648, allocations: 149.1 kB / 0.7851 GB, free: 106 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.7e-07/1.648, allocations: 192 / 0.7851 GB, free: 106 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008425/1.648, allocations: 102.2 kB / 0.7852 GB, free: 106 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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): 9 * Array equations: 1 * 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.0008212/1.649, allocations: 1.11 MB / 0.7863 GB, free: 104.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005037/1.65, allocations: 176.8 kB / 0.7864 GB, free: 104.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.65, allocations: 0 / 0.7864 GB, free: 104.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/1.65, allocations: 25.06 kB / 0.7865 GB, free: 104.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/1.65, allocations: 47.73 kB / 0.7865 GB, free: 104.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/1.67, allocations: 12.66 MB / 0.7989 GB, free: 95.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/1.67, allocations: 0.7319 MB / 0.7996 GB, free: 94.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004466/1.671, allocations: 61.69 kB / 0.7996 GB, free: 94.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/1.671, allocations: 55.05 kB / 0.7997 GB, free: 94.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/1.671, allocations: 0 / 0.7997 GB, free: 94.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/1.704, allocations: 4.679 MB / 0.8043 GB, free: 92.29 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000335/1.705, allocations: 179.8 kB / 0.8044 GB, free: 92.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/4.368, allocations: 7.938 kB / 0.8044 GB, free: 92.04 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat