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: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 108.7 kB / 16.41 MB, free: 6.449 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.001238/0.001238, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.638/1.638, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2373/0.2373, allocations: 43.53 MB / 314.1 MB, free: 448 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.001653/0.001653, allocations: 67.89 kB / 441.8 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1342, allocations: 57.78 MB / 499.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01915/0.1535, allocations: 13.83 MB / 0.5014 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03209/0.1856, allocations: 26.58 MB / 0.5274 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.1859, allocations: 7.938 kB / 0.5274 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.1864, allocations: 87.45 kB / 0.5275 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3829/0.5694, allocations: 8.505 MB / 0.5358 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.5706, allocations: 356 kB / 0.5361 GB, free: 5.113 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005075/0.5757, allocations: 2.003 MB / 0.5381 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.561e-05/0.5758, allocations: 20.45 kB / 0.5381 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005548/0.5763, allocations: 261.9 kB / 0.5383 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01065/0.587, allocations: 3.255 MB / 0.5415 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.5872, allocations: 9.844 kB / 0.5415 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04145/0.6286, allocations: 11.61 MB / 0.5529 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.629, allocations: 48.81 kB / 0.5529 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006496/0.6296, allocations: 140.4 kB / 0.5531 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03306/0.6627, allocations: 6.732 MB / 0.5596 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.799e-06/0.6627, allocations: 0 / 0.5596 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.898e-06/0.6628, allocations: 4 kB / 0.5596 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.6628, allocations: 0 / 0.5596 GB, free: 0.9062 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.0063/0.6691, allocations: 1.61 MB / 0.5612 GB, free: 15.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.6691, allocations: 17.92 kB / 0.5612 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.6707, allocations: 188.6 kB / 0.5614 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.6712, allocations: 273.2 kB / 0.5617 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.6712, allocations: 21.5 kB / 0.5617 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.6713, allocations: 32.5 kB / 0.5617 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.6734, allocations: 0.759 MB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.6735, allocations: 6.312 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.6735, allocations: 12.05 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.6735, allocations: 8.375 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.6756, allocations: 0.8223 MB / 0.5633 GB, free: 14.55 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.003696/0.6793, allocations: 2.704 MB / 0.5659 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.6805, allocations: 348.2 kB / 0.5663 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.6807, allocations: 71.8 kB / 0.5663 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3713/1.052, allocations: 142.9 MB / 0.7059 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/1.054, allocations: 441.5 kB / 0.7063 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 5.641e-06/1.054, allocations: 0 / 0.7063 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004334/1.058, allocations: 1.127 MB / 0.7074 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002137/1.058, allocations: 371 kB / 0.7077 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/1.058, allocations: 194.2 kB / 0.7079 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/1.058, allocations: 30.8 kB / 0.708 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/1.059, allocations: 189.4 kB / 0.7081 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/1.059, allocations: 111.5 kB / 0.7082 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/1.059, allocations: 130.1 kB / 0.7084 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.059, allocations: 330.8 kB / 0.7087 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/1.059, allocations: 73.08 kB / 0.7087 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/1.06, allocations: 351.7 kB / 0.7091 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/1.06, allocations: 481.2 kB / 0.7095 GB, free: 300 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.06, allocations: 0 / 0.7095 GB, free: 300 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009072/1.061, allocations: 473.3 kB / 0.71 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/1.061, allocations: 14.75 kB / 0.71 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/1.061, allocations: 8 kB / 0.71 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/1.061, allocations: 12 kB / 0.71 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.063, allocations: 213 kB / 0.7102 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007258/1.064, allocations: 1.19 MB / 0.7114 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/1.064, allocations: 19.98 kB / 0.7114 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/1.064, allocations: 39.98 kB / 0.7114 GB, free: 14.36 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.000215/1.064, allocations: 170.9 kB / 0.7116 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/1.064, allocations: 31.91 kB / 0.7116 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/1.068, allocations: 2.829 MB / 0.7144 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.401e-05/1.068, allocations: 24.59 kB / 0.7144 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.068, allocations: 4 kB / 0.7144 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/1.068, allocations: 7.844 kB / 0.7144 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/1.069, allocations: 0.9675 MB / 0.7154 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/1.069, allocations: 7.625 kB / 0.7154 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/1.069, allocations: 103.5 kB / 0.7155 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002805/1.07, allocations: 154.9 kB / 0.7156 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/1.07, allocations: 12 kB / 0.7157 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004483/1.07, allocations: 0.6408 MB / 0.7163 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.07, allocations: 7 kB / 0.7163 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/1.072, allocations: 0.9813 MB / 0.7172 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/1.072, allocations: 128.4 kB / 0.7174 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/1.072, allocations: 94.72 kB / 0.7175 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/1.072, allocations: 15.98 kB / 0.7175 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/1.072, allocations: 34.81 kB / 0.7175 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/1.072, allocations: 16 kB / 0.7175 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005585/1.073, allocations: 471 kB / 0.718 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.073, allocations: 0 / 0.718 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006839/1.08, allocations: 1.605 MB / 0.7195 GB, free: 5.98 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.01138/1.091, allocations: 1.859 MB / 0.7213 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002108/1.093, allocations: 0.5371 MB / 0.7219 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.093, allocations: 0 / 0.7219 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005596/1.094, allocations: 368.7 kB / 0.7222 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/1.095, allocations: 127.5 kB / 0.7223 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.133/2.228, allocations: 347.6 MB / 1.062 GB, free: 174.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/2.228, allocations: 0.9781 MB / 1.063 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006678/2.229, allocations: 0.5014 MB / 1.063 GB, free: 172.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/2.229, allocations: 59.41 kB / 1.063 GB, free: 172.6 MB / 0.6075 GB Notification: Performance of SimCode: time 1.522e-06/2.229, allocations: 0 / 1.063 GB, free: 172.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.06644/2.295, allocations: 58.51 MB / 1.12 GB, free: 114.1 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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/jenkins/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