Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.001474/0.001475, allocations: 177.6 kB / 8.004 MB, free: 1.07 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.789/1.789, 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.0009073/0.0009071, allocations: 82.61 kB / 261.7 MB, free: 1.684 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.2277/0.2277, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.663e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 58.85 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9106/1.034, allocations: 299.1 MB / 0.7581 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/1.035, allocations: 71.12 kB / 0.7582 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04259/1.077, allocations: 20.04 MB / 0.7777 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.046e-06/1.077, allocations: 7.938 kB / 0.7777 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.27e-05/1.077, allocations: 0 / 0.7777 GB, free: 119.2 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.0008091/1.078, allocations: 0.5519 MB / 0.7783 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.078, allocations: 8.031 kB / 0.7783 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/1.078, allocations: 27.81 kB / 0.7783 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/1.079, allocations: 236.9 kB / 0.7785 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/1.079, allocations: 115.4 kB / 0.7787 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/1.079, allocations: 15.94 kB / 0.7787 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006253/1.08, allocations: 0.7042 MB / 0.7794 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/1.08, allocations: 285 kB / 0.7796 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.08, allocations: 0 / 0.7796 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/1.08, allocations: 0 / 0.7796 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/1.08, allocations: 8 kB / 0.7796 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/1.082, allocations: 3.191 MB / 0.7828 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.688e-05/1.082, allocations: 57.03 kB / 0.7828 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/1.082, allocations: 19.48 kB / 0.7828 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/1.082, allocations: 170.4 kB / 0.783 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/1.082, allocations: 37.88 kB / 0.783 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/1.082, allocations: 0 / 0.783 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0004975/1.083, allocations: 146.3 kB / 0.7832 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/1.083, allocations: 59.39 kB / 0.7832 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/1.083, allocations: 194.9 kB / 0.7834 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/1.083, allocations: 29.7 kB / 0.7834 GB, free: 113 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/1.083, allocations: 223.9 kB / 0.7836 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/1.083, allocations: 38.3 kB / 0.7837 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/1.083, allocations: 0 / 0.7837 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.667e-05/1.083, allocations: 328.8 kB / 0.784 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/1.083, allocations: 40.11 kB / 0.784 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/1.083, allocations: 309.1 kB / 0.7843 GB, free: 112 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/1.084, allocations: 104 kB / 0.7844 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/1.084, allocations: 4 kB / 0.7844 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005229/1.084, allocations: 318.7 kB / 0.7847 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.084, allocations: 15.97 kB / 0.7848 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.084, allocations: 15.98 kB / 0.7848 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/1.084, allocations: 16.03 kB / 0.7848 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/1.085, allocations: 107.1 kB / 0.7849 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/1.085, allocations: 19.92 kB / 0.7849 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/1.085, allocations: 8 kB / 0.7849 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/1.085, allocations: 31.42 kB / 0.7849 GB, free: 111.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 7.461e-05/1.085, allocations: 128.1 kB / 0.7851 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001574/1.085, allocations: 92.31 kB / 0.7852 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/1.085, allocations: 23.75 kB / 0.7852 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/1.085, allocations: 100.1 kB / 0.7853 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.085, allocations: 0 / 0.7853 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.085, allocations: 0 / 0.7853 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.085, allocations: 0 / 0.7853 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/1.086, allocations: 385.3 kB / 0.7856 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.086, allocations: 0 / 0.7856 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/1.086, allocations: 19.98 kB / 0.7857 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.086, allocations: 0 / 0.7857 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/1.086, allocations: 7.984 kB / 0.7857 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.086, allocations: 128 / 0.7857 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.086, allocations: 7.953 kB / 0.7857 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/1.086, allocations: 216.2 kB / 0.7859 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/1.086, allocations: 117.9 kB / 0.786 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/1.086, allocations: 3.953 kB / 0.786 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/1.087, allocations: 7.984 kB / 0.786 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/1.087, allocations: 4 kB / 0.786 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/1.087, allocations: 11.98 kB / 0.786 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001247/1.087, allocations: 138.9 kB / 0.7861 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.3e-07/1.087, allocations: 0 / 0.7861 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004646/1.087, allocations: 90.3 kB / 0.7862 GB, free: 110.1 MB / 0.4948 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.0005519/1.088, allocations: 0.9635 MB / 0.7872 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002105/1.088, allocations: 141.2 kB / 0.7873 GB, free: 109 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.088, allocations: 4 kB / 0.7873 GB, free: 109 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/1.088, allocations: 23.55 kB / 0.7873 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/1.088, allocations: 21.81 kB / 0.7874 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006185/1.089, allocations: 255.8 kB / 0.7876 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/1.089, allocations: 0.7209 MB / 0.7883 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002508/1.089, allocations: 57.88 kB / 0.7884 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/1.089, allocations: 59.09 kB / 0.7884 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/1.089, allocations: 0 / 0.7884 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/1.117, allocations: 4.242 MB / 0.7926 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003102/1.117, allocations: 163.4 kB / 0.7927 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.88, allocations: 0 / 0.7927 GB, free: 103.4 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat