Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001167, allocations: 98.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3029/0.3029, allocations: 43.5 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.029e-05, allocations: 8.203 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4467, allocations: 58.85 MB / 477.2 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.384/9.831, allocations: 3.076 GB / 3.542 GB, free: 81.83 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/9.831, allocations: 75.33 kB / 3.542 GB, free: 81.8 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.097/10.93, allocations: 208.2 MB / 3.745 GB, free: 77.68 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.552e-06/10.93, allocations: 0 / 3.745 GB, free: 77.68 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.698e-05/10.93, allocations: 4 kB / 3.745 GB, free: 77.68 MB / 0.4952 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.0056/10.93, allocations: 1.154 MB / 3.746 GB, free: 76.55 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/10.93, allocations: 8.031 kB / 3.746 GB, free: 76.55 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/10.93, allocations: 39.31 kB / 3.746 GB, free: 76.52 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/10.93, allocations: 225.5 kB / 3.746 GB, free: 76.27 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/10.93, allocations: 115.4 kB / 3.746 GB, free: 76.14 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/10.94, allocations: 12 kB / 3.746 GB, free: 76.12 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009909/10.94, allocations: 0.7152 MB / 3.747 GB, free: 75.61 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/10.94, allocations: 287.8 kB / 3.747 GB, free: 75.34 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/10.94, allocations: 0 / 3.747 GB, free: 75.34 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/10.94, allocations: 0 / 3.747 GB, free: 75.34 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/10.94, allocations: 8 kB / 3.747 GB, free: 75.33 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003592/10.94, allocations: 3.496 MB / 3.751 GB, free: 71.45 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/10.94, allocations: 46.33 kB / 3.751 GB, free: 71.4 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/10.94, allocations: 25.08 kB / 3.751 GB, free: 71.38 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/10.94, allocations: 448.2 kB / 3.751 GB, free: 70.92 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/10.94, allocations: 30.56 kB / 3.751 GB, free: 70.88 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=1): time 2.524e-06/10.94, allocations: 0 / 3.751 GB, free: 70.88 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1): time 0.000233/10.94, allocations: 53.52 kB / 3.751 GB, free: 70.82 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/10.94, allocations: 51.41 kB / 3.752 GB, free: 70.76 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/10.94, allocations: 220.2 kB / 3.752 GB, free: 70.56 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/10.94, allocations: 29.64 kB / 3.752 GB, free: 70.52 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/10.94, allocations: 315.6 kB / 3.752 GB, free: 70.23 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/10.94, allocations: 15.84 kB / 3.752 GB, free: 70.21 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/10.94, allocations: 3.938 kB / 3.752 GB, free: 70.21 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.46e-05/10.94, allocations: 330.2 kB / 3.752 GB, free: 69.88 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/10.94, allocations: 36.62 kB / 3.752 GB, free: 69.85 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/10.94, allocations: 336.1 kB / 3.753 GB, free: 69.38 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/10.94, allocations: 118.2 kB / 3.753 GB, free: 69.28 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/10.94, allocations: 4 kB / 3.753 GB, free: 69.28 MB / 0.4952 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009099/10.94, allocations: 336.2 kB / 3.753 GB, free: 68.98 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/10.94, allocations: 8 kB / 3.753 GB, free: 68.98 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/10.94, allocations: 12 kB / 3.753 GB, free: 68.96 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.213e-05/10.94, allocations: 16 kB / 3.753 GB, free: 68.95 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/10.94, allocations: 101.7 kB / 3.753 GB, free: 68.86 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/10.94, allocations: 19.94 kB / 3.753 GB, free: 68.84 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/10.94, allocations: 47.44 kB / 3.753 GB, free: 68.8 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/10.94, allocations: 31.34 kB / 3.753 GB, free: 68.77 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 9.685e-05/10.95, allocations: 140.6 kB / 3.754 GB, free: 68.62 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001226/10.95, allocations: 53.27 kB / 3.754 GB, free: 68.57 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/10.95, allocations: 15.81 kB / 3.754 GB, free: 68.55 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/10.95, allocations: 21.08 kB / 3.754 GB, free: 68.54 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/10.95, allocations: 0 / 3.754 GB, free: 68.54 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/10.95, allocations: 3.938 kB / 3.754 GB, free: 68.53 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/10.95, allocations: 3.953 kB / 3.754 GB, free: 68.53 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/10.95, allocations: 172.9 kB / 3.754 GB, free: 68.34 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/10.95, allocations: 4.031 kB / 3.754 GB, free: 68.33 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-06/10.95, allocations: 4 kB / 3.754 GB, free: 68.33 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/10.95, allocations: 0 / 3.754 GB, free: 68.33 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/10.95, allocations: 3.25 kB / 3.754 GB, free: 68.33 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/10.95, allocations: 0 / 3.754 GB, free: 68.33 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/10.95, allocations: 0 / 3.754 GB, free: 68.33 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/10.95, allocations: 154.9 kB / 3.754 GB, free: 68.16 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/10.95, allocations: 112.3 kB / 3.754 GB, free: 68.04 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/10.95, allocations: 4.031 kB / 3.754 GB, free: 68.04 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/10.95, allocations: 4 kB / 3.754 GB, free: 68.04 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/10.95, allocations: 0 / 3.754 GB, free: 68.04 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/10.95, allocations: 3.844 kB / 3.754 GB, free: 68.04 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0001277/10.95, allocations: 145.5 kB / 3.754 GB, free: 67.9 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.21e-07/10.95, allocations: 0 / 3.754 GB, free: 67.9 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0008017/10.95, allocations: 103.7 kB / 3.754 GB, free: 67.8 MB / 0.4952 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0006814/10.95, allocations: 0.8871 MB / 3.755 GB, free: 66.94 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0002927/10.95, allocations: 128.2 kB / 3.755 GB, free: 66.82 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/10.95, allocations: 0 / 3.755 GB, free: 66.82 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/10.95, allocations: 1 kB / 3.755 GB, free: 66.82 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/10.95, allocations: 17.73 kB / 3.755 GB, free: 66.81 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.719/11.67, allocations: 95.77 MB / 3.849 GB, free: 67.14 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/11.67, allocations: 0.724 MB / 3.85 GB, free: 66.45 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/11.67, allocations: 62.34 kB / 3.85 GB, free: 66.44 MB / 0.4952 GB Notification: Performance of SimCode: time 1.142e-06/11.67, allocations: 0 / 3.85 GB, free: 66.44 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.486/14.15, allocations: 4.747 MB / 3.854 GB, free: 66.35 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat