Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.002354/0.002354, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.677/1.677, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 92.03 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2315/0.2315, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.031e-05/4.043e-05, allocations: 8.156 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1547, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.879/8.034, allocations: 3.083 GB / 3.585 GB, free: 58.54 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/8.035, allocations: 75.95 kB / 3.585 GB, free: 58.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8866/8.921, allocations: 213 MB / 3.793 GB, free: 64.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.956e-06/8.921, allocations: 4 kB / 3.793 GB, free: 64.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.39e-05/8.921, allocations: 0 / 3.793 GB, free: 64.34 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.004912/8.926, allocations: 1.161 MB / 3.794 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/8.926, allocations: 8.031 kB / 3.794 GB, free: 63.13 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.165e-05/8.926, allocations: 62.53 kB / 3.794 GB, free: 63.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/8.927, allocations: 27.77 kB / 3.794 GB, free: 63.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/8.927, allocations: 222.8 kB / 3.794 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.617e-05/8.927, allocations: 119.4 kB / 3.795 GB, free: 62.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/8.927, allocations: 28 kB / 3.795 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/8.927, allocations: 311.7 kB / 3.795 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/8.927, allocations: 0 / 3.795 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/8.927, allocations: 12 kB / 3.795 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/8.927, allocations: 8 kB / 3.795 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006244/8.928, allocations: 0.7391 MB / 3.796 GB, free: 61.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/8.929, allocations: 1.233 MB / 3.797 GB, free: 60.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/8.93, allocations: 147.8 kB / 3.797 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/8.93, allocations: 77.5 kB / 3.797 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002067/8.932, allocations: 3.035 MB / 3.8 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/8.932, allocations: 34.56 kB / 3.8 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/8.932, allocations: 0 / 3.8 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0002702/8.932, allocations: 110.5 kB / 3.8 GB, free: 56.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/8.932, allocations: 51.41 kB / 3.8 GB, free: 56.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/8.932, allocations: 197.8 kB / 3.8 GB, free: 56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/8.932, allocations: 29.69 kB / 3.8 GB, free: 55.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/8.932, allocations: 211 kB / 3.801 GB, free: 55.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/8.932, allocations: 55.28 kB / 3.801 GB, free: 55.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/8.932, allocations: 8 kB / 3.801 GB, free: 55.69 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.501e-05/8.932, allocations: 326.8 kB / 3.801 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/8.933, allocations: 48.86 kB / 3.801 GB, free: 55.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/8.933, allocations: 324.9 kB / 3.801 GB, free: 54.85 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/8.933, allocations: 100.2 kB / 3.801 GB, free: 54.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/8.933, allocations: 3.938 kB / 3.801 GB, free: 54.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004896/8.933, allocations: 377.6 kB / 3.802 GB, free: 54.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/8.933, allocations: 8 kB / 3.802 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/8.933, allocations: 12 kB / 3.802 GB, free: 54.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/8.933, allocations: 15.95 kB / 3.802 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/8.934, allocations: 99.83 kB / 3.802 GB, free: 54.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/8.934, allocations: 23.86 kB / 3.802 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/8.934, allocations: 51.53 kB / 3.802 GB, free: 54.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/8.934, allocations: 28 kB / 3.802 GB, free: 54.14 MB / 0.5261 GB 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 () * 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.172e-05/8.934, allocations: 140.9 kB / 3.802 GB, free: 53.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/8.934, allocations: 23.7 kB / 3.802 GB, free: 53.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/8.934, allocations: 169.6 kB / 3.802 GB, free: 53.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/8.934, allocations: 0 / 3.802 GB, free: 53.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/8.934, allocations: 7.953 kB / 3.802 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/8.934, allocations: 0 / 3.802 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/8.935, allocations: 433.7 kB / 3.803 GB, free: 53.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/8.935, allocations: 0 / 3.803 GB, free: 53.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/8.935, allocations: 15.95 kB / 3.803 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/8.935, allocations: 4 kB / 3.803 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/8.935, allocations: 0 / 3.803 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/8.935, allocations: 4 kB / 3.803 GB, free: 53.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/8.935, allocations: 3.984 kB / 3.803 GB, free: 53.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/8.935, allocations: 257.7 kB / 3.803 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/8.935, allocations: 116.8 kB / 3.803 GB, free: 52.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/8.935, allocations: 11.92 kB / 3.803 GB, free: 52.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/8.936, allocations: 4.062 kB / 3.803 GB, free: 52.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/8.936, allocations: 15.94 kB / 3.803 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/8.936, allocations: 8 kB / 3.803 GB, free: 52.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.851e-05/8.936, allocations: 149.4 kB / 3.803 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/8.936, allocations: 0 / 3.803 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006103/8.936, allocations: 111.9 kB / 3.803 GB, free: 52.53 MB / 0.5261 GB 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 () * 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.0007215/8.937, allocations: 1.249 MB / 3.805 GB, free: 51.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002437/8.937, allocations: 162 kB / 3.805 GB, free: 51.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/8.937, allocations: 320 / 3.805 GB, free: 51.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.397e-05/8.937, allocations: 32.2 kB / 3.805 GB, free: 51.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/8.938, allocations: 42.41 kB / 3.805 GB, free: 50.99 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5581/9.496, allocations: 98.82 MB / 3.901 GB, free: 88.26 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/9.496, allocations: 0.7318 MB / 3.902 GB, free: 87.56 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002932/9.496, allocations: 50.19 kB / 3.902 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.275e-05/9.496, allocations: 61.09 kB / 3.902 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/9.496, allocations: 3.781 kB / 3.902 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/9.523, allocations: 7.8 MB / 3.91 GB, free: 87.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/9.523, allocations: 176 kB / 3.91 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/11.59, allocations: 3.719 kB / 3.91 GB, free: 86.8 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat