Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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 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 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 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_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",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.001821/0.001821, allocations: 109.2 kB / 16.41 MB, free: 6.445 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.002012/0.002012, allocations: 185.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2121/0.2121, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003181/0.003182, allocations: 63.91 kB / 441.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1579, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02922/0.1872, allocations: 13.83 MB / 0.5009 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05512/0.2423, allocations: 26.58 MB / 0.5269 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.2426, allocations: 4 kB / 0.5269 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.2432, allocations: 95.39 kB / 0.527 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2538/0.497, allocations: 8.495 MB / 0.5353 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009525/0.498, allocations: 350.4 kB / 0.5356 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004433/0.5024, allocations: 1.999 MB / 0.5376 GB, free: 4.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.628e-05/0.5025, allocations: 26.86 kB / 0.5376 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004752/0.503, allocations: 254.9 kB / 0.5378 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007078/0.5101, allocations: 3.261 MB / 0.541 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.817e-05/0.5102, allocations: 9.5 kB / 0.541 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02551/0.5357, allocations: 11.61 MB / 0.5524 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.5359, allocations: 49.25 kB / 0.5524 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003378/0.5363, allocations: 136.1 kB / 0.5526 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.5536, allocations: 6.755 MB / 0.5592 GB, free: 1.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.5537, allocations: 0 / 0.5592 GB, free: 1.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5537, allocations: 0 / 0.5592 GB, free: 1.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.5537, allocations: 4 kB / 0.5592 GB, free: 1.113 MB / 414.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.004924/0.5586, allocations: 1.665 MB / 0.5608 GB, free: 15.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.5587, allocations: 13.64 kB / 0.5608 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.243e-05/0.5588, allocations: 76.84 kB / 0.5609 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.5603, allocations: 191 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.5607, allocations: 263.8 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.5608, allocations: 22.72 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.5608, allocations: 29.91 kB / 0.5614 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.563, allocations: 0.7572 MB / 0.5621 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.563, allocations: 0 / 0.5621 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.5631, allocations: 16.78 kB / 0.5621 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.5631, allocations: 12.14 kB / 0.5621 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.5651, allocations: 0.8176 MB / 0.5629 GB, free: 14.64 MB / 430.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.003579/0.5687, allocations: 2.71 MB / 0.5656 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.5699, allocations: 347.7 kB / 0.5659 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.5701, allocations: 72.98 kB / 0.566 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.397/0.9671, allocations: 142.9 MB / 0.7055 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/0.9685, allocations: 445.5 kB / 0.7059 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.457e-06/0.9686, allocations: 0 / 0.7059 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004094/0.9727, allocations: 1.139 MB / 0.7071 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/0.9729, allocations: 376.1 kB / 0.7074 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.9731, allocations: 187.8 kB / 0.7076 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.9732, allocations: 37.69 kB / 0.7076 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.9733, allocations: 188.9 kB / 0.7078 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.9735, allocations: 124.7 kB / 0.7079 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.9737, allocations: 122.2 kB / 0.7081 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.9738, allocations: 333.4 kB / 0.7084 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.974, allocations: 83.31 kB / 0.7084 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.9745, allocations: 345.4 kB / 0.7088 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007605/0.9752, allocations: 482.1 kB / 0.7092 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.9753, allocations: 4 kB / 0.7092 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001032/0.9763, allocations: 480.2 kB / 0.7097 GB, free: 204 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.9763, allocations: 8 kB / 0.7097 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.9764, allocations: 12 kB / 0.7097 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.9764, allocations: 12 kB / 0.7097 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.978, allocations: 207.7 kB / 0.7099 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007334/0.9788, allocations: 1.184 MB / 0.7111 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.9791, allocations: 27.89 kB / 0.7111 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.9792, allocations: 45.28 kB / 0.7112 GB, free: 14.68 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.9794, allocations: 172.9 kB / 0.7113 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.9795, allocations: 32.03 kB / 0.7113 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003358/0.9829, allocations: 2.836 MB / 0.7141 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.144e-05/0.9829, allocations: 19.97 kB / 0.7141 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.983, allocations: 4 kB / 0.7141 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.983, allocations: 11.03 kB / 0.7142 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.9842, allocations: 0.9774 MB / 0.7151 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.9842, allocations: 4 kB / 0.7151 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/0.9848, allocations: 95.42 kB / 0.7152 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002231/0.985, allocations: 154.8 kB / 0.7153 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.9851, allocations: 16.09 kB / 0.7154 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004563/0.9855, allocations: 0.6489 MB / 0.716 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.9856, allocations: 0 / 0.716 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.9869, allocations: 0.9849 MB / 0.717 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.987, allocations: 136.2 kB / 0.7171 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.9871, allocations: 95.12 kB / 0.7172 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.9874, allocations: 16 kB / 0.7172 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.9875, allocations: 42.8 kB / 0.7172 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.9875, allocations: 12 kB / 0.7172 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006031/0.9882, allocations: 475 kB / 0.7177 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9882, allocations: 0 / 0.7177 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004882/0.9931, allocations: 1.625 MB / 0.7193 GB, free: 6.25 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009733/1.003, allocations: 3.124 MB / 0.7223 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001672/1.004, allocations: 0.55 MB / 0.7229 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.005, allocations: 0 / 0.7229 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005087/1.005, allocations: 360.5 kB / 0.7232 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008622/1.006, allocations: 133.8 kB / 0.7233 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9277/1.934, allocations: 352.4 MB / 1.068 GB, free: 167.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/1.934, allocations: 0.9858 MB / 1.068 GB, free: 166.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008842/1.935, allocations: 0.5017 MB / 1.069 GB, free: 166.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/1.935, allocations: 323.3 kB / 1.069 GB, free: 165.8 MB / 0.6075 GB Notification: Performance of SimCode: time 8.91e-07/1.935, allocations: 0 / 1.069 GB, free: 165.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/2.066, allocations: 66.25 MB / 1.134 GB, free: 99.51 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.99/19.06, allocations: 7.906 kB / 1.134 GB, free: 99.5 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches