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.001516/0.001516, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001674/0.001674, allocations: 192 kB / 18.56 MB, free: 4.434 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.355/1.355, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2043/0.2043, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002064, allocations: 59.84 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1365, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02162/0.1582, allocations: 13.81 MB / 483.2 MB, free: 396 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04392/0.2022, allocations: 26.59 MB / 0.4978 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000264/0.2025, allocations: 7.938 kB / 0.4978 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004644/0.203, allocations: 87.44 kB / 0.4979 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3145/0.5176, allocations: 8.525 MB / 0.5062 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.5189, allocations: 353 kB / 0.5066 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005605/0.5245, allocations: 2.001 MB / 0.5085 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.862e-05/0.5246, allocations: 22.09 kB / 0.5085 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005966/0.5252, allocations: 267.9 kB / 0.5088 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007443/0.5327, allocations: 3.259 MB / 0.512 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.494e-05/0.5328, allocations: 10.69 kB / 0.512 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0235/0.5563, allocations: 10.57 MB / 0.5223 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.5565, allocations: 53.44 kB / 0.5224 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003743/0.5569, allocations: 138.7 kB / 0.5225 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02233/0.5793, allocations: 6.33 MB / 0.5287 GB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.5793, allocations: 0 / 0.5287 GB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5794, allocations: 0 / 0.5287 GB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.348e-05/0.5794, allocations: 4 kB / 0.5287 GB, free: 10.27 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.007655/0.5871, allocations: 1.551 MB / 0.5302 GB, free: 9.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.5871, allocations: 14.94 kB / 0.5302 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.905e-05/0.5872, allocations: 67.97 kB / 0.5303 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.5889, allocations: 217 kB / 0.5305 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.5893, allocations: 280.5 kB / 0.5307 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/0.5893, allocations: 21.09 kB / 0.5308 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.5894, allocations: 33.78 kB / 0.5308 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.5917, allocations: 0.8252 MB / 0.5316 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.5917, allocations: 3.188 kB / 0.5316 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.5917, allocations: 17.03 kB / 0.5316 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.5918, allocations: 9.094 kB / 0.5316 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.594, allocations: 0.9327 MB / 0.5325 GB, free: 7.793 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.003135/0.5972, allocations: 2.586 MB / 0.5351 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.5986, allocations: 373.8 kB / 0.5354 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.5988, allocations: 78.62 kB / 0.5355 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7679/1.367, allocations: 225 MB / 0.7552 GB, free: 176.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001382/1.368, allocations: 478.4 kB / 0.7556 GB, free: 176.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 3.035e-06/1.368, allocations: 0 / 0.7556 GB, free: 176.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002863/1.371, allocations: 0.7794 MB / 0.7564 GB, free: 175.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/1.371, allocations: 371.8 kB / 0.7568 GB, free: 175.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/1.371, allocations: 186.2 kB / 0.7569 GB, free: 174.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/1.371, allocations: 33.7 kB / 0.757 GB, free: 174.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/1.371, allocations: 187.7 kB / 0.7571 GB, free: 174.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.017e-05/1.371, allocations: 110.6 kB / 0.7573 GB, free: 174.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/1.372, allocations: 129 kB / 0.7574 GB, free: 174.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.919e-05/1.372, allocations: 334.6 kB / 0.7577 GB, free: 174.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/1.372, allocations: 83.59 kB / 0.7578 GB, free: 174.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/1.372, allocations: 347.6 kB / 0.7581 GB, free: 173.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/1.373, allocations: 486.6 kB / 0.7586 GB, free: 173 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.373, allocations: 0 / 0.7586 GB, free: 173 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007935/1.374, allocations: 469.8 kB / 0.759 GB, free: 172.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.374, allocations: 12 kB / 0.759 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.374, allocations: 8 kB / 0.759 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/1.374, allocations: 12 kB / 0.7591 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/1.374, allocations: 144.4 kB / 0.7592 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/1.374, allocations: 19.94 kB / 0.7592 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/1.374, allocations: 57.92 kB / 0.7593 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/1.374, allocations: 39.98 kB / 0.7593 GB, free: 172.3 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.0001562/1.375, allocations: 165.6 kB / 0.7595 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/1.375, allocations: 23.72 kB / 0.7595 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/1.377, allocations: 2.608 MB / 0.762 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/1.377, allocations: 19.97 kB / 0.762 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.377, allocations: 4.375 kB / 0.7621 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.377, allocations: 11.98 kB / 0.7621 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008252/1.378, allocations: 0.9296 MB / 0.763 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.378, allocations: 0 / 0.763 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/1.378, allocations: 79.86 kB / 0.763 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/1.378, allocations: 7.938 kB / 0.7631 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/1.378, allocations: 12 kB / 0.7631 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.378, allocations: 7.844 kB / 0.7631 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.378, allocations: 4 kB / 0.7631 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008544/1.379, allocations: 0.6979 MB / 0.7638 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/1.379, allocations: 130.4 kB / 0.7639 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.379, allocations: 106.5 kB / 0.764 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/1.38, allocations: 15.98 kB / 0.764 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/1.38, allocations: 39.7 kB / 0.764 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/1.38, allocations: 16 kB / 0.7641 GB, free: 167.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004627/1.38, allocations: 0.504 MB / 0.7645 GB, free: 166.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.38, allocations: 0 / 0.7645 GB, free: 166.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004861/1.385, allocations: 1.51 MB / 0.766 GB, free: 165.4 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.008183/1.393, allocations: 2.865 MB / 0.7688 GB, free: 162.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009357/1.394, allocations: 428.4 kB / 0.7692 GB, free: 162.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.394, allocations: 4 kB / 0.7692 GB, free: 162.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/1.394, allocations: 282.3 kB / 0.7695 GB, free: 162 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/1.395, allocations: 131 kB / 0.7696 GB, free: 161.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.352/2.747, allocations: 0.6054 GB / 1.375 GB, free: 124.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/2.747, allocations: 0.9817 MB / 1.376 GB, free: 123.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000665/2.748, allocations: 0.5261 MB / 1.376 GB, free: 122.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/2.748, allocations: 339.3 kB / 1.377 GB, free: 122.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/2.748, allocations: 0 / 1.377 GB, free: 122.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1715/2.92, allocations: 63.49 MB / 1.439 GB, free: 59.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/14.82, allocations: 10.89 kB / 1.439 GB, free: 59.22 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