Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.000952/0.000952, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008396/0.0008395, allocations: 90.2 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2173/0.2173, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.663e-05, allocations: 4 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1352, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.258/8.393, allocations: 3.076 GB / 3.542 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/8.394, allocations: 75.88 kB / 3.542 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8461/9.24, allocations: 208.2 MB / 3.745 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.873e-06/9.24, allocations: 0 / 3.745 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.573e-05/9.24, allocations: 7.688 kB / 3.745 GB, free: 105.5 MB / 0.4948 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.005881/9.246, allocations: 1.147 MB / 3.746 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/9.246, allocations: 9.75 kB / 3.746 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/9.246, allocations: 30.94 kB / 3.746 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/9.246, allocations: 229.2 kB / 3.746 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/9.246, allocations: 118.3 kB / 3.746 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/9.246, allocations: 13.91 kB / 3.747 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006846/9.247, allocations: 0.7061 MB / 3.747 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/9.247, allocations: 291 kB / 3.747 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/9.247, allocations: 3.625 kB / 3.747 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/9.247, allocations: 2.906 kB / 3.747 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/9.248, allocations: 7.625 kB / 3.747 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/9.25, allocations: 3.497 MB / 3.751 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.389e-05/9.25, allocations: 44.95 kB / 3.751 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/9.25, allocations: 19.92 kB / 3.751 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004215/9.251, allocations: 446.3 kB / 3.751 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/9.251, allocations: 42.47 kB / 3.751 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 2.034e-06/9.251, allocations: 0 / 3.751 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001988/9.251, allocations: 51.55 kB / 3.751 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/9.251, allocations: 58.84 kB / 3.752 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/9.251, allocations: 216.1 kB / 3.752 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/9.251, allocations: 25.7 kB / 3.752 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/9.251, allocations: 251 kB / 3.752 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/9.251, allocations: 14.73 kB / 3.752 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/9.251, allocations: 0 / 3.752 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/9.252, allocations: 328.5 kB / 3.752 GB, free: 99.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/9.252, allocations: 37.38 kB / 3.752 GB, free: 99.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/9.252, allocations: 338.7 kB / 3.753 GB, free: 99.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/9.252, allocations: 120.4 kB / 3.753 GB, free: 99.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/9.252, allocations: 3.656 kB / 3.753 GB, free: 99.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005758/9.253, allocations: 333.4 kB / 3.753 GB, free: 99.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/9.253, allocations: 10.91 kB / 3.753 GB, free: 99.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/9.253, allocations: 16.62 kB / 3.753 GB, free: 99.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/9.253, allocations: 21.83 kB / 3.753 GB, free: 99.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/9.253, allocations: 97.27 kB / 3.753 GB, free: 99.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/9.253, allocations: 22.83 kB / 3.753 GB, free: 99.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/9.253, allocations: 46.38 kB / 3.753 GB, free: 99.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/9.253, allocations: 29.53 kB / 3.753 GB, free: 99.24 MB / 0.4948 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 8.804e-05/9.253, allocations: 131.6 kB / 3.753 GB, free: 99.11 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.217e-05/9.254, allocations: 55.5 kB / 3.754 GB, free: 99.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/9.254, allocations: 30.16 kB / 3.754 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/9.254, allocations: 15.67 kB / 3.754 GB, free: 99.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/9.254, allocations: 3.531 kB / 3.754 GB, free: 99.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/9.254, allocations: 0 / 3.754 GB, free: 99.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/9.254, allocations: 3.953 kB / 3.754 GB, free: 99.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/9.254, allocations: 171.3 kB / 3.754 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/9.254, allocations: 0 / 3.754 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/9.254, allocations: 0 / 3.754 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/9.254, allocations: 3.656 kB / 3.754 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/9.254, allocations: 3.938 kB / 3.754 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/9.254, allocations: 3.844 kB / 3.754 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/9.254, allocations: 0 / 3.754 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/9.254, allocations: 152.9 kB / 3.754 GB, free: 98.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/9.254, allocations: 105.9 kB / 3.754 GB, free: 98.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/9.254, allocations: 3.781 kB / 3.754 GB, free: 98.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/9.254, allocations: 0 / 3.754 GB, free: 98.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/9.254, allocations: 3.844 kB / 3.754 GB, free: 98.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/9.254, allocations: 3.812 kB / 3.754 GB, free: 98.65 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.583e-05/9.254, allocations: 143.5 kB / 3.754 GB, free: 98.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/9.254, allocations: 0 / 3.754 GB, free: 98.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006144/9.255, allocations: 101.4 kB / 3.754 GB, free: 98.56 MB / 0.4948 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.0006408/9.256, allocations: 0.891 MB / 3.755 GB, free: 97.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002358/9.256, allocations: 134.4 kB / 3.755 GB, free: 97.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/9.256, allocations: 0 / 3.755 GB, free: 97.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.618e-06/9.256, allocations: 3.656 kB / 3.755 GB, free: 97.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/9.256, allocations: 16.69 kB / 3.755 GB, free: 97.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2056/9.462, allocations: 95.75 MB / 3.849 GB, free: 62.44 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/9.462, allocations: 0.7209 MB / 3.849 GB, free: 61.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003128/9.462, allocations: 49.92 kB / 3.85 GB, free: 61.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/9.463, allocations: 51.42 kB / 3.85 GB, free: 61.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.233e-06/9.463, allocations: 3.938 kB / 3.85 GB, free: 61.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/9.495, allocations: 4.929 MB / 3.854 GB, free: 56.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/9.496, allocations: 151.5 kB / 3.855 GB, free: 56.48 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/11.55, allocations: 0 / 3.855 GB, free: 56.48 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat