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.001255/0.001255, allocations: 173.7 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.5 MB / 230.7 MB, free: 7.512 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.0009145/0.0009149, allocations: 99.47 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2128/0.2128, allocations: 44.16 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.301e-05, allocations: 7.938 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1457, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.07/8.216, allocations: 3.083 GB / 3.577 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/8.216, allocations: 75.95 kB / 3.577 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.898/9.114, allocations: 209.8 MB / 3.782 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.964e-06/9.114, allocations: 0 / 3.782 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.877e-05/9.114, allocations: 4 kB / 3.782 GB, free: 6.234 MB / 0.5105 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.006263/9.121, allocations: 1.163 MB / 3.783 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/9.121, allocations: 11.98 kB / 3.783 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/9.121, allocations: 23.81 kB / 3.783 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/9.121, allocations: 226.7 kB / 3.784 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/9.121, allocations: 115.4 kB / 3.784 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/9.121, allocations: 12 kB / 3.784 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007847/9.122, allocations: 0.7113 MB / 3.784 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/9.123, allocations: 286.6 kB / 3.785 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/9.123, allocations: 4 kB / 3.785 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/9.123, allocations: 7.922 kB / 3.785 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/9.123, allocations: 4 kB / 3.785 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4463/9.569, allocations: 3.502 MB / 3.788 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/9.569, allocations: 46 kB / 3.788 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/9.569, allocations: 21.28 kB / 3.788 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006803/9.57, allocations: 441.9 kB / 3.789 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/9.57, allocations: 36.2 kB / 3.789 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 3.406e-06/9.57, allocations: 1.344 kB / 3.789 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002722/9.57, allocations: 53.66 kB / 3.789 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/9.57, allocations: 53.34 kB / 3.789 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/9.571, allocations: 219.6 kB / 3.789 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/9.571, allocations: 28.98 kB / 3.789 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/9.571, allocations: 251.6 kB / 3.789 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/9.571, allocations: 12.33 kB / 3.789 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/9.571, allocations: 0 / 3.789 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/9.571, allocations: 327.4 kB / 3.79 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/9.571, allocations: 34.19 kB / 3.79 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/9.571, allocations: 335.8 kB / 3.79 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/9.572, allocations: 118.2 kB / 3.79 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/9.572, allocations: 2.344 kB / 3.79 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007851/9.573, allocations: 339.2 kB / 3.79 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/9.573, allocations: 12.56 kB / 3.79 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/9.573, allocations: 11.38 kB / 3.79 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.167e-05/9.573, allocations: 16.2 kB / 3.79 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/9.573, allocations: 99.08 kB / 3.79 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.241e-05/9.573, allocations: 22.5 kB / 3.79 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/9.573, allocations: 49.78 kB / 3.791 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/9.573, allocations: 33.05 kB / 3.791 GB, free: 105.7 MB / 0.5105 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 0.0001034/9.574, allocations: 125.5 kB / 3.791 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001128/9.574, allocations: 57.77 kB / 3.791 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/9.574, allocations: 22.33 kB / 3.791 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/9.574, allocations: 19.66 kB / 3.791 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/9.574, allocations: 1.391 kB / 3.791 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/9.574, allocations: 1.156 kB / 3.791 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/9.574, allocations: 0.5625 kB / 3.791 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/9.574, allocations: 177.9 kB / 3.791 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/9.574, allocations: 0 / 3.791 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-07/9.574, allocations: 0.5625 kB / 3.791 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/9.574, allocations: 1.359 kB / 3.791 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/9.574, allocations: 0.9688 kB / 3.791 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/9.574, allocations: 2.812 kB / 3.791 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/9.574, allocations: 5.922 kB / 3.791 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/9.574, allocations: 150.6 kB / 3.791 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-05/9.574, allocations: 116.8 kB / 3.791 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/9.574, allocations: 0.9375 kB / 3.791 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/9.574, allocations: 2.844 kB / 3.791 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/9.574, allocations: 0 / 3.791 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/9.574, allocations: 3.312 kB / 3.791 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001547/9.575, allocations: 152.2 kB / 3.791 GB, free: 105 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/9.575, allocations: 0 / 3.791 GB, free: 105 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007319/9.575, allocations: 98.53 kB / 3.791 GB, free: 105 MB / 0.5105 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.0008012/9.576, allocations: 0.8822 MB / 3.792 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002213/9.576, allocations: 132.3 kB / 3.792 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/9.576, allocations: 0 / 3.792 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.311e-06/9.576, allocations: 0.5625 kB / 3.792 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/9.577, allocations: 21.69 kB / 3.792 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2189/9.796, allocations: 96.44 MB / 3.887 GB, free: 88.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/9.796, allocations: 0.7259 MB / 3.887 GB, free: 88.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002631/9.796, allocations: 53.66 kB / 3.887 GB, free: 88.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/9.796, allocations: 50.52 kB / 3.887 GB, free: 88 MB / 0.5105 GB Notification: Performance of SimCode: time 1.422e-06/9.796, allocations: 0 / 3.887 GB, free: 88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/9.826, allocations: 4.918 MB / 3.892 GB, free: 85.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/9.826, allocations: 153.6 kB / 3.892 GB, free: 84.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/11.64, allocations: 5.578 kB / 3.892 GB, free: 84.91 MB / 0.5105 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