Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 106.6 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001035, allocations: 193.3 kB / 18.25 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.206/0.206, allocations: 44.17 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 68.39 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1226, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01841/0.1411, allocations: 13.93 MB / 482.8 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03026/0.1714, allocations: 26.67 MB / 0.4975 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.1717, allocations: 0 / 0.4975 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.1721, allocations: 83.56 kB / 0.4976 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.272/0.4442, allocations: 7.539 MB / 0.5049 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.4453, allocations: 316.9 kB / 0.5052 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00518/0.4505, allocations: 2.006 MB / 0.5072 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.4506, allocations: 19.06 kB / 0.5072 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006588/0.4513, allocations: 265.9 kB / 0.5075 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006095/0.4574, allocations: 3.269 MB / 0.5107 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.4574, allocations: 10.25 kB / 0.5107 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0227/0.4802, allocations: 10.68 MB / 0.5211 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.4804, allocations: 52.81 kB / 0.5212 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.4807, allocations: 139.7 kB / 0.5213 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02/0.5008, allocations: 6.355 MB / 0.5275 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.5008, allocations: 0 / 0.5275 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5008, allocations: 0 / 0.5275 GB, free: 10.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.5008, allocations: 0 / 0.5275 GB, free: 10.97 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.00577/0.5066, allocations: 1.559 MB / 0.529 GB, free: 9.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.5067, allocations: 9.062 kB / 0.529 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.568e-05/0.5068, allocations: 71.16 kB / 0.5291 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.5085, allocations: 219.7 kB / 0.5293 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.5088, allocations: 277.6 kB / 0.5296 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.5089, allocations: 25.72 kB / 0.5296 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.5089, allocations: 31.84 kB / 0.5296 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.5112, allocations: 0.8221 MB / 0.5304 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.5112, allocations: 6.594 kB / 0.5304 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.5112, allocations: 10.66 kB / 0.5304 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.5113, allocations: 7.844 kB / 0.5304 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.5136, allocations: 0.9377 MB / 0.5314 GB, free: 8.762 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002777/0.5163, allocations: 2.575 MB / 0.5339 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.5177, allocations: 380.3 kB / 0.5342 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.5178, allocations: 81.16 kB / 0.5343 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8442/1.362, allocations: 225 MB / 0.754 GB, free: 178.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/1.364, allocations: 486.4 kB / 0.7545 GB, free: 177.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.695e-06/1.364, allocations: 0 / 0.7545 GB, free: 177.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002917/1.366, allocations: 0.778 MB / 0.7552 GB, free: 177.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/1.367, allocations: 375.8 kB / 0.7556 GB, free: 176.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/1.367, allocations: 185.5 kB / 0.7558 GB, free: 176.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/1.367, allocations: 33.7 kB / 0.7558 GB, free: 176.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/1.367, allocations: 182.8 kB / 0.756 GB, free: 176.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/1.367, allocations: 108.4 kB / 0.7561 GB, free: 176.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/1.367, allocations: 132.7 kB / 0.7562 GB, free: 176 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.954e-05/1.367, allocations: 334.6 kB / 0.7565 GB, free: 175.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/1.367, allocations: 81.06 kB / 0.7566 GB, free: 175.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/1.368, allocations: 348.4 kB / 0.7569 GB, free: 175.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/1.368, allocations: 482.3 kB / 0.7574 GB, free: 174.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.368, allocations: 0 / 0.7574 GB, free: 174.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007807/1.369, allocations: 477.2 kB / 0.7578 GB, free: 174.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.369, allocations: 11.98 kB / 0.7579 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.369, allocations: 8 kB / 0.7579 GB, free: 174 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/1.369, allocations: 12 kB / 0.7579 GB, free: 174 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/1.369, allocations: 140.6 kB / 0.758 GB, free: 173.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.369, allocations: 23.27 kB / 0.758 GB, free: 173.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/1.37, allocations: 57.39 kB / 0.7581 GB, free: 173.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/1.37, allocations: 47.97 kB / 0.7581 GB, free: 173.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001454/1.37, allocations: 159.2 kB / 0.7583 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.613e-05/1.37, allocations: 27.72 kB / 0.7583 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/1.372, allocations: 2.602 MB / 0.7608 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/1.372, allocations: 23.97 kB / 0.7609 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/1.372, allocations: 7.562 kB / 0.7609 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/1.372, allocations: 384 / 0.7609 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006505/1.373, allocations: 0.9406 MB / 0.7618 GB, free: 170 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.373, allocations: 5.094 kB / 0.7618 GB, free: 170 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/1.373, allocations: 67.88 kB / 0.7619 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/1.373, allocations: 4.75 kB / 0.7619 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/1.373, allocations: 19.98 kB / 0.7619 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/1.373, allocations: 7.938 kB / 0.7619 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.373, allocations: 4 kB / 0.7619 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007727/1.374, allocations: 0.6965 MB / 0.7626 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/1.374, allocations: 127.4 kB / 0.7627 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/1.374, allocations: 106.5 kB / 0.7628 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/1.374, allocations: 19.45 kB / 0.7628 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/1.374, allocations: 47.69 kB / 0.7629 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/1.375, allocations: 16 kB / 0.7629 GB, free: 168.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004445/1.375, allocations: 0.504 MB / 0.7634 GB, free: 168.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.375, allocations: 0 / 0.7634 GB, free: 168.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004451/1.379, allocations: 1.503 MB / 0.7648 GB, free: 166.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007035/1.386, allocations: 2.875 MB / 0.7677 GB, free: 164.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007604/1.387, allocations: 424.1 kB / 0.7681 GB, free: 163.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.387, allocations: 0 / 0.7681 GB, free: 163.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002823/1.388, allocations: 280.4 kB / 0.7683 GB, free: 163.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008003/1.388, allocations: 141 kB / 0.7685 GB, free: 163.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.483/2.872, allocations: 0.6057 GB / 1.374 GB, free: 125.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/2.872, allocations: 0.9856 MB / 1.375 GB, free: 124.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006996/2.873, allocations: 0.5232 MB / 1.376 GB, free: 123.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/2.873, allocations: 339.3 kB / 1.376 GB, free: 123.4 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/2.873, allocations: 0 / 1.376 GB, free: 123.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08454/2.958, allocations: 63.45 MB / 1.438 GB, free: 60.18 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/2.958, allocations: 225.6 kB / 1.438 GB, free: 59.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.833/8.791, allocations: 0 / 1.438 GB, free: 59.93 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches