Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001704/0.001704, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 225.6 MB / 234.8 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007765/0.0007765, allocations: 96.27 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.201/0.201, allocations: 45.16 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.248e-05/1.242e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 63.24 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.138, allocations: 301.4 MB / 0.7988 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/1.139, allocations: 71.09 kB / 0.7989 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.04396/1.183, allocations: 20.7 MB / 0.8191 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.793e-06/1.183, allocations: 0 / 0.8191 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.435e-05/1.183, allocations: 7.938 kB / 0.8191 GB, free: 134.8 MB / 0.5261 GB 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.0008569/1.184, allocations: 0.5547 MB / 0.8196 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.184, allocations: 12.03 kB / 0.8197 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/1.184, allocations: 19.81 kB / 0.8197 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/1.184, allocations: 233.2 kB / 0.8199 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/1.184, allocations: 115.4 kB / 0.82 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/1.184, allocations: 12 kB / 0.82 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006267/1.185, allocations: 0.7158 MB / 0.8207 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/1.185, allocations: 276.1 kB / 0.821 GB, free: 133 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/1.185, allocations: 7.938 kB / 0.821 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/1.185, allocations: 7.984 kB / 0.821 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/1.185, allocations: 7.984 kB / 0.821 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/1.187, allocations: 3.187 MB / 0.8241 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.755e-05/1.188, allocations: 46.03 kB / 0.8242 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/1.188, allocations: 24.23 kB / 0.8242 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/1.188, allocations: 169.8 kB / 0.8244 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/1.188, allocations: 34.5 kB / 0.8244 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.933e-06/1.188, allocations: 0 / 0.8244 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0006002/1.188, allocations: 158.7 kB / 0.8245 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/1.188, allocations: 51.41 kB / 0.8246 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/1.189, allocations: 204 kB / 0.8248 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/1.189, allocations: 29.64 kB / 0.8248 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/1.189, allocations: 224.4 kB / 0.825 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/1.189, allocations: 38.8 kB / 0.8251 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/1.189, allocations: 0 / 0.8251 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.427e-05/1.189, allocations: 333.5 kB / 0.8254 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.536e-05/1.189, allocations: 35.56 kB / 0.8254 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/1.189, allocations: 295.4 kB / 0.8257 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/1.189, allocations: 107.9 kB / 0.8258 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/1.189, allocations: 4 kB / 0.8258 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006117/1.19, allocations: 327.5 kB / 0.8261 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.19, allocations: 8 kB / 0.8261 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.19, allocations: 11.98 kB / 0.8261 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/1.19, allocations: 16.78 kB / 0.8261 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/1.19, allocations: 106.6 kB / 0.8262 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/1.19, allocations: 19.92 kB / 0.8263 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/1.191, allocations: 8 kB / 0.8263 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/1.191, allocations: 31.11 kB / 0.8263 GB, free: 127.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 8.657e-05/1.191, allocations: 123.7 kB / 0.8264 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001844/1.191, allocations: 102.3 kB / 0.8265 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/1.191, allocations: 15.81 kB / 0.8265 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/1.191, allocations: 105 kB / 0.8266 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/1.191, allocations: 0 / 0.8266 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.191, allocations: 0 / 0.8266 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/1.191, allocations: 7.953 kB / 0.8266 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/1.192, allocations: 372.9 kB / 0.827 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.192, allocations: 7.984 kB / 0.827 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/1.192, allocations: 19.98 kB / 0.827 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.192, allocations: 4.062 kB / 0.827 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/1.192, allocations: 0 / 0.827 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/1.192, allocations: 4 kB / 0.827 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.192, allocations: 7.891 kB / 0.827 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/1.192, allocations: 217.2 kB / 0.8272 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/1.192, allocations: 119 kB / 0.8274 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/1.192, allocations: 0 / 0.8274 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/1.192, allocations: 8.188 kB / 0.8274 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/1.192, allocations: 7.984 kB / 0.8274 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/1.192, allocations: 7.312 kB / 0.8274 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.493e-05/1.192, allocations: 140.9 kB / 0.8275 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.192, allocations: 0 / 0.8275 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000484/1.193, allocations: 99.36 kB / 0.8276 GB, free: 125.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0006043/1.194, allocations: 0.9674 MB / 0.8286 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002357/1.194, allocations: 133 kB / 0.8287 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.194, allocations: 4.312 kB / 0.8287 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.744e-05/1.194, allocations: 23.06 kB / 0.8287 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/1.194, allocations: 29.02 kB / 0.8287 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/1.195, allocations: 250 kB / 0.829 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/1.195, allocations: 0.7328 MB / 0.8297 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002482/1.195, allocations: 53.97 kB / 0.8297 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/1.195, allocations: 63.22 kB / 0.8298 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.91e-07/1.195, allocations: 0 / 0.8298 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/1.219, allocations: 4.31 MB / 0.834 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/1.22, allocations: 164.5 kB / 0.8342 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.958, allocations: 0 / 0.8342 GB, free: 118.9 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat