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.001814/0.001814, allocations: 103.2 kB / 18.4 MB, free: 4.703 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.001904/0.001904, allocations: 188 kB / 19.34 MB, free: 3.77 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.422/1.422, allocations: 222.9 MB / 243 MB, free: 15.07 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.2017/0.2017, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 70.11 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1223, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01754/0.1399, allocations: 13.81 MB / 484.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02937/0.1693, allocations: 26.6 MB / 0.4991 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.1696, allocations: 0 / 0.4991 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.1701, allocations: 95.39 kB / 0.4992 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2804/0.4505, allocations: 8.517 MB / 0.5075 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.4516, allocations: 348.7 kB / 0.5079 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006003/0.4576, allocations: 2.001 MB / 0.5098 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.186e-05/0.4577, allocations: 21.75 kB / 0.5099 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007064/0.4584, allocations: 263.5 kB / 0.5101 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00788/0.4663, allocations: 3.262 MB / 0.5133 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-05/0.4665, allocations: 10.12 kB / 0.5133 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02665/0.4931, allocations: 11.62 MB / 0.5246 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.4933, allocations: 54.67 kB / 0.5247 GB, free: 13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.4938, allocations: 137.8 kB / 0.5248 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02088/0.5147, allocations: 6.738 MB / 0.5314 GB, free: 9.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.5148, allocations: 0 / 0.5314 GB, free: 9.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5148, allocations: 0 / 0.5314 GB, free: 9.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.5148, allocations: 0 / 0.5314 GB, free: 9.453 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.005738/0.5205, allocations: 1.622 MB / 0.533 GB, free: 8.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.5206, allocations: 8.719 kB / 0.533 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.5221, allocations: 188.7 kB / 0.5332 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.5225, allocations: 264 kB / 0.5334 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.5225, allocations: 23.91 kB / 0.5335 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.5226, allocations: 36.25 kB / 0.5335 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.5244, allocations: 0.7551 MB / 0.5342 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.5245, allocations: 8.156 kB / 0.5342 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.5245, allocations: 16.97 kB / 0.5343 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.5245, allocations: 6.812 kB / 0.5343 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.5264, allocations: 0.8116 MB / 0.5351 GB, free: 7.102 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.002697/0.5291, allocations: 2.706 MB / 0.5377 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.5302, allocations: 354.3 kB / 0.538 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.73e-05/0.5303, allocations: 66.98 kB / 0.5381 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3513/0.8816, allocations: 142.7 MB / 0.6775 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/0.883, allocations: 445.8 kB / 0.6779 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.883, allocations: 0 / 0.6779 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.003686/0.8867, allocations: 1.119 MB / 0.679 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.8868, allocations: 372.7 kB / 0.6794 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.887, allocations: 195.7 kB / 0.6795 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.887, allocations: 29.7 kB / 0.6796 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/0.8871, allocations: 188.4 kB / 0.6798 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.599e-05/0.8872, allocations: 115.1 kB / 0.6799 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.8874, allocations: 122.1 kB / 0.68 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8875, allocations: 338.2 kB / 0.6803 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.8877, allocations: 76.64 kB / 0.6804 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.888, allocations: 345.9 kB / 0.6807 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/0.8886, allocations: 488.3 kB / 0.6812 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.8886, allocations: 4 kB / 0.6812 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008243/0.8894, allocations: 464.4 kB / 0.6816 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.8894, allocations: 13.47 kB / 0.6816 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.8895, allocations: 16.09 kB / 0.6816 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.8895, allocations: 12 kB / 0.6817 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.891, allocations: 214.9 kB / 0.6819 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005377/0.8916, allocations: 1.182 MB / 0.683 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.8918, allocations: 28.12 kB / 0.683 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.8919, allocations: 43.97 kB / 0.6831 GB, free: 5 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.0001587/0.8921, allocations: 160.3 kB / 0.6832 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.8922, allocations: 31.7 kB / 0.6833 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.8948, allocations: 2.818 MB / 0.686 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.8948, allocations: 26.5 kB / 0.686 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.8948, allocations: 4.375 kB / 0.6861 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.8948, allocations: 4 kB / 0.6861 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008495/0.8957, allocations: 0.9722 MB / 0.687 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.8957, allocations: 5.641 kB / 0.687 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.8963, allocations: 95.42 kB / 0.6871 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.8965, allocations: 160.1 kB / 0.6873 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.8965, allocations: 12 kB / 0.6873 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003476/0.8968, allocations: 0.6421 MB / 0.6879 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.8969, allocations: 14.91 kB / 0.6879 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.898, allocations: 0.9658 MB / 0.6889 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.443e-05/0.8981, allocations: 132.4 kB / 0.689 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.8982, allocations: 102.7 kB / 0.6891 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.8985, allocations: 11.98 kB / 0.6891 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.8986, allocations: 33.97 kB / 0.6891 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.8986, allocations: 17.22 kB / 0.6891 GB, free: 14.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004994/0.8991, allocations: 471 kB / 0.6896 GB, free: 14.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.8991, allocations: 1.531 kB / 0.6896 GB, free: 14.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004532/0.9037, allocations: 1.612 MB / 0.6912 GB, free: 12.63 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.006714/0.9104, allocations: 1.857 MB / 0.693 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.9119, allocations: 0.5417 MB / 0.6935 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.9119, allocations: 0 / 0.6935 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.9124, allocations: 363.3 kB / 0.6938 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000779/0.9132, allocations: 131.9 kB / 0.694 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8376/1.751, allocations: 347.7 MB / 1.034 GB, free: 92.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/1.751, allocations: 0.982 MB / 1.035 GB, free: 91.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007323/1.752, allocations: 0.5047 MB / 1.035 GB, free: 90.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/1.752, allocations: 63.39 kB / 1.035 GB, free: 90.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/1.752, allocations: 0 / 1.035 GB, free: 90.7 MB / 0.545 GB Notification: Performance of Templates: time 0.3282/2.08, allocations: 58.46 MB / 1.092 GB, free: 212.6 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/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