Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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: 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_4.0.0_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_4.0.0_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.001062/0.001062, allocations: 103.8 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.001153/0.001153, 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.313/1.313, allocations: 222.9 MB / 242.2 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.2176/0.2176, allocations: 44.19 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 61.56 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1286, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01799/0.1467, allocations: 13.81 MB / 483.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02956/0.1763, allocations: 26.6 MB / 0.4977 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.1766, allocations: 4 kB / 0.4977 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.177, allocations: 95.39 kB / 0.4978 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2673/0.4443, allocations: 8.517 MB / 0.5061 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.4454, allocations: 351.1 kB / 0.5065 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005581/0.4509, allocations: 1.998 MB / 0.5084 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.084e-05/0.4511, allocations: 22.22 kB / 0.5084 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005757/0.4517, allocations: 257.8 kB / 0.5087 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007284/0.4589, allocations: 3.259 MB / 0.5119 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.226e-05/0.4591, allocations: 9.875 kB / 0.5119 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02628/0.4854, allocations: 11.34 MB / 0.5229 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.4855, allocations: 50.84 kB / 0.523 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.4859, allocations: 135.1 kB / 0.5231 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02245/0.5084, allocations: 6.765 MB / 0.5297 GB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.5084, allocations: 0 / 0.5297 GB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.5084, allocations: 2.781 kB / 0.5297 GB, free: 9.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.5084, allocations: 0 / 0.5297 GB, free: 9.617 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.005745/0.5142, allocations: 1.617 MB / 0.5313 GB, free: 8.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.5142, allocations: 9.594 kB / 0.5313 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.5157, allocations: 187 kB / 0.5315 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.516, allocations: 265.2 kB / 0.5317 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.516, allocations: 20.44 kB / 0.5318 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.5161, allocations: 27.81 kB / 0.5318 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.5179, allocations: 0.763 MB / 0.5325 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.518, allocations: 7.281 kB / 0.5325 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/0.518, allocations: 17.52 kB / 0.5326 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.518, allocations: 7.875 kB / 0.5326 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.52, allocations: 0.8133 MB / 0.5334 GB, free: 7.273 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.003058/0.5231, allocations: 2.718 MB / 0.536 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.5241, allocations: 345.5 kB / 0.5363 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.5242, allocations: 73 kB / 0.5364 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3656/0.8898, allocations: 141 MB / 0.6741 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.8912, allocations: 449.5 kB / 0.6745 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/0.8912, allocations: 0 / 0.6745 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.003919/0.8952, allocations: 1.125 MB / 0.6756 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.8953, allocations: 376.7 kB / 0.676 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.8955, allocations: 186.2 kB / 0.6762 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.8956, allocations: 33.7 kB / 0.6762 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.8957, allocations: 189.7 kB / 0.6764 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.64e-05/0.8958, allocations: 114 kB / 0.6765 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.896, allocations: 122.1 kB / 0.6766 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8961, allocations: 330.8 kB / 0.6769 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.8963, allocations: 81.06 kB / 0.677 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.8966, allocations: 349.5 kB / 0.6773 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006262/0.8973, allocations: 482.9 kB / 0.6778 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.8973, allocations: 4 kB / 0.6778 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000856/0.8981, allocations: 476.6 kB / 0.6783 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.8982, allocations: 11.94 kB / 0.6783 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.8982, allocations: 12 kB / 0.6783 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.8982, allocations: 16.03 kB / 0.6783 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.8997, allocations: 214.4 kB / 0.6785 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005704/0.9003, allocations: 1.182 MB / 0.6797 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.9006, allocations: 27.12 kB / 0.6797 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/0.9007, allocations: 47.98 kB / 0.6797 GB, free: 7.332 MB / 0.5294 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.0001778/0.9008, allocations: 157 kB / 0.6799 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-05/0.9009, allocations: 27.72 kB / 0.6799 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/0.9038, allocations: 2.836 MB / 0.6827 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/0.9038, allocations: 23.97 kB / 0.6827 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.9039, allocations: 4 kB / 0.6827 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.9039, allocations: 7.984 kB / 0.6827 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.9049, allocations: 0.9651 MB / 0.6837 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.9049, allocations: 5.094 kB / 0.6837 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.9054, allocations: 95.89 kB / 0.6838 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002558/0.9057, allocations: 162.9 kB / 0.6839 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.9058, allocations: 11.98 kB / 0.6839 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003789/0.9061, allocations: 0.6416 MB / 0.6845 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9062, allocations: 4 kB / 0.6846 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.9073, allocations: 0.9783 MB / 0.6855 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.9075, allocations: 128.5 kB / 0.6856 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.9076, allocations: 96.19 kB / 0.6857 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.9079, allocations: 22.89 kB / 0.6857 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.908, allocations: 35.28 kB / 0.6858 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.908, allocations: 15.98 kB / 0.6858 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005497/0.9086, allocations: 471 kB / 0.6862 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9086, allocations: 0 / 0.6862 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005272/0.9139, allocations: 1.613 MB / 0.6878 GB, free: 14.94 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: 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.009218/0.9231, allocations: 1.882 MB / 0.6897 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.9251, allocations: 0.5432 MB / 0.6902 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.9251, allocations: 4 kB / 0.6902 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.9256, allocations: 367.6 kB / 0.6905 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009301/0.9266, allocations: 123.5 kB / 0.6907 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8776/1.804, allocations: 347.8 MB / 1.03 GB, free: 94.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/1.805, allocations: 0.982 MB / 1.031 GB, free: 93.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007382/1.805, allocations: 0.5074 MB / 1.032 GB, free: 93.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/1.805, allocations: 51.41 kB / 1.032 GB, free: 93.13 MB / 0.545 GB Notification: Performance of SimCode: time 1.373e-06/1.805, allocations: 0 / 1.032 GB, free: 93.13 MB / 0.545 GB Notification: Performance of Templates: time 0.3003/2.106, allocations: 58.7 MB / 1.089 GB, free: 212.7 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches