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.001408/0.001408, allocations: 184.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2456/0.2456, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1566, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.147/7.303, allocations: 3.076 GB / 3.555 GB, free: 34.16 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/7.304, allocations: 79.95 kB / 3.555 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.848/8.152, allocations: 211.6 MB / 3.762 GB, free: 39.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.617e-06/8.152, allocations: 0 / 3.762 GB, free: 39.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.933e-05/8.152, allocations: 4 kB / 3.762 GB, free: 39.24 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.008067/8.16, allocations: 1.166 MB / 3.763 GB, free: 38.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.563e-05/8.16, allocations: 8.031 kB / 3.763 GB, free: 38.02 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/8.16, allocations: 66.53 kB / 3.763 GB, free: 37.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/8.16, allocations: 23.81 kB / 3.763 GB, free: 37.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/8.161, allocations: 222.7 kB / 3.763 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/8.161, allocations: 123.4 kB / 3.764 GB, free: 37.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/8.161, allocations: 31.92 kB / 3.764 GB, free: 37.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/8.162, allocations: 319.7 kB / 3.764 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/8.162, allocations: 3.938 kB / 3.764 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/8.162, allocations: 12 kB / 3.764 GB, free: 37.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/8.162, allocations: 4 kB / 3.764 GB, free: 37.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000762/8.163, allocations: 0.7391 MB / 3.765 GB, free: 36.39 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/8.164, allocations: 1.221 MB / 3.766 GB, free: 35.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/8.164, allocations: 159.7 kB / 3.766 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002482/8.167, allocations: 2.777 MB / 3.769 GB, free: 31.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/8.167, allocations: 30.56 kB / 3.769 GB, free: 31.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/8.167, allocations: 0 / 3.769 GB, free: 31.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0003495/8.167, allocations: 129.4 kB / 3.769 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/8.167, allocations: 59.41 kB / 3.769 GB, free: 31.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/8.168, allocations: 202 kB / 3.769 GB, free: 31.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/8.168, allocations: 25.7 kB / 3.769 GB, free: 31.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/8.168, allocations: 214.8 kB / 3.769 GB, free: 30.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/8.168, allocations: 47.36 kB / 3.769 GB, free: 30.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/8.168, allocations: 4 kB / 3.769 GB, free: 30.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/8.168, allocations: 330.8 kB / 3.77 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/8.168, allocations: 44.84 kB / 3.77 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/8.168, allocations: 332.9 kB / 3.77 GB, free: 30.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/8.168, allocations: 99.8 kB / 3.77 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/8.168, allocations: 4 kB / 3.77 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005305/8.169, allocations: 385.2 kB / 3.77 GB, free: 29.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/8.169, allocations: 11.44 kB / 3.77 GB, free: 29.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/8.169, allocations: 12 kB / 3.77 GB, free: 29.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/8.169, allocations: 19.94 kB / 3.77 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/8.169, allocations: 95.83 kB / 3.771 GB, free: 29.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.307e-05/8.169, allocations: 23.92 kB / 3.771 GB, free: 29.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/8.17, allocations: 59.84 kB / 3.771 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/8.17, allocations: 28 kB / 3.771 GB, free: 29.31 MB / 0.5105 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 () * Number of clocked 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.0001709/8.17, allocations: 157.6 kB / 3.771 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/8.17, allocations: 19.77 kB / 3.771 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/8.17, allocations: 169.5 kB / 3.771 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/8.17, allocations: 4 kB / 3.771 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/8.17, allocations: 0 / 3.771 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/8.17, allocations: 3.984 kB / 3.771 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/8.171, allocations: 425.7 kB / 3.771 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/8.171, allocations: 0 / 3.771 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/8.171, allocations: 16 kB / 3.771 GB, free: 28.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/8.171, allocations: 0 / 3.771 GB, free: 28.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/8.171, allocations: 11.98 kB / 3.771 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/8.171, allocations: 0 / 3.771 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/8.171, allocations: 4.125 kB / 3.771 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/8.171, allocations: 261.4 kB / 3.772 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/8.171, allocations: 120.8 kB / 3.772 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/8.171, allocations: 4 kB / 3.772 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/8.171, allocations: 4 kB / 3.772 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/8.171, allocations: 7.984 kB / 3.772 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/8.171, allocations: 11.98 kB / 3.772 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001165/8.172, allocations: 148.5 kB / 3.772 GB, free: 27.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.2e-07/8.172, allocations: 8 kB / 3.772 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007209/8.172, allocations: 111.9 kB / 3.772 GB, free: 27.69 MB / 0.5105 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 () * Number of clocked 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.0008911/8.173, allocations: 1.244 MB / 3.773 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000298/8.173, allocations: 173.6 kB / 3.774 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/8.174, allocations: 0 / 3.774 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/8.174, allocations: 23.92 kB / 3.774 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/8.174, allocations: 45.17 kB / 3.774 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.628/8.802, allocations: 106.1 MB / 3.877 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/8.802, allocations: 0.7327 MB / 3.878 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003129/8.803, allocations: 58.73 kB / 3.878 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/8.803, allocations: 59.53 kB / 3.878 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of SimCode: time 1.793e-06/8.803, allocations: 0 / 3.878 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/8.83, allocations: 7.252 MB / 3.885 GB, free: 93.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/8.83, allocations: 194.7 kB / 3.885 GB, free: 93.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/11.11, allocations: 0 / 3.885 GB, free: 93.41 MB / 0.5105 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