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.001493/0.001493, allocations: 116.7 kB / 17.33 MB, free: 6.02 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.001316/0.001316, allocations: 193.3 kB / 18.25 MB, free: 5.109 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.387/1.387, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.216/0.216, allocations: 44.18 MB / 336.2 MB, free: 2.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 61.09 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1217, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01631/0.138, allocations: 13.93 MB / 482.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02909/0.1672, allocations: 26.67 MB / 0.4974 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.1674, allocations: 4 kB / 0.4974 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.1679, allocations: 79.58 kB / 0.4975 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2456/0.4135, allocations: 7.53 MB / 0.5048 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.4145, allocations: 324.5 kB / 0.5051 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003797/0.4183, allocations: 1.998 MB / 0.5071 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.521e-05/0.4184, allocations: 22.3 kB / 0.5071 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004385/0.4189, allocations: 258.8 kB / 0.5074 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005569/0.4244, allocations: 3.266 MB / 0.5105 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.4245, allocations: 9.156 kB / 0.5106 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02084/0.4454, allocations: 11.46 MB / 0.5217 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4455, allocations: 48.62 kB / 0.5218 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.4458, allocations: 141.1 kB / 0.5219 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.4603, allocations: 6.781 MB / 0.5285 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4603, allocations: 4 kB / 0.5285 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4603, allocations: 0 / 0.5285 GB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.4603, allocations: 3.562 kB / 0.5286 GB, free: 10.88 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.00374/0.4641, allocations: 1.618 MB / 0.5301 GB, free: 9.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.4641, allocations: 13.44 kB / 0.5301 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.4656, allocations: 186.2 kB / 0.5303 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.4658, allocations: 268.3 kB / 0.5306 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.4658, allocations: 24.19 kB / 0.5306 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.4659, allocations: 30.41 kB / 0.5306 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.4678, allocations: 0.756 MB / 0.5314 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4678, allocations: 3.375 kB / 0.5314 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.4679, allocations: 15.5 kB / 0.5314 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.4679, allocations: 17.53 kB / 0.5314 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.4698, allocations: 0.8101 MB / 0.5322 GB, free: 8.523 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.002455/0.4722, allocations: 2.716 MB / 0.5348 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.4734, allocations: 347.8 kB / 0.5352 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.4735, allocations: 76.23 kB / 0.5353 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4/0.8735, allocations: 141 MB / 0.673 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001762/0.8754, allocations: 453.9 kB / 0.6734 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 4.879e-06/0.8754, allocations: 0 / 0.6734 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.004297/0.8797, allocations: 1.131 MB / 0.6745 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001796/0.8799, allocations: 366.6 kB / 0.6748 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.8801, allocations: 183.7 kB / 0.675 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.968e-05/0.8802, allocations: 29.7 kB / 0.675 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.8804, allocations: 191.6 kB / 0.6752 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.8805, allocations: 113 kB / 0.6753 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.8807, allocations: 126.1 kB / 0.6755 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8808, allocations: 330.8 kB / 0.6758 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.881, allocations: 81.06 kB / 0.6758 GB, free: 12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.8814, allocations: 347.2 kB / 0.6762 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/0.8822, allocations: 481.4 kB / 0.6766 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.8822, allocations: 4 kB / 0.6766 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001005/0.8832, allocations: 466 kB / 0.6771 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.8833, allocations: 15.92 kB / 0.6771 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.8833, allocations: 12 kB / 0.6771 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.761e-05/0.8834, allocations: 15.56 kB / 0.6771 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.885, allocations: 210.1 kB / 0.6773 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009811/0.886, allocations: 1.187 MB / 0.6785 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.8864, allocations: 23.94 kB / 0.6785 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.8865, allocations: 47.97 kB / 0.6786 GB, free: 9.043 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.0003002/0.8868, allocations: 161.3 kB / 0.6787 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.887, allocations: 28.22 kB / 0.6787 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/0.8905, allocations: 2.838 MB / 0.6815 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/0.8906, allocations: 23.97 kB / 0.6815 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.8906, allocations: 4 kB / 0.6815 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.8906, allocations: 7.984 kB / 0.6815 GB, free: 6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.8922, allocations: 0.9664 MB / 0.6825 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.8922, allocations: 4 kB / 0.6825 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000761/0.893, allocations: 95.52 kB / 0.6826 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002979/0.8933, allocations: 170.3 kB / 0.6827 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/0.8934, allocations: 8 kB / 0.6827 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007547/0.8941, allocations: 0.642 MB / 0.6834 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.8942, allocations: 7.375 kB / 0.6834 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.8963, allocations: 0.9741 MB / 0.6843 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.8965, allocations: 134.1 kB / 0.6845 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/0.8968, allocations: 91.8 kB / 0.6845 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.8971, allocations: 15.98 kB / 0.6846 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.8972, allocations: 35.56 kB / 0.6846 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.8972, allocations: 19.98 kB / 0.6846 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005968/0.8978, allocations: 471 kB / 0.6851 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.8978, allocations: 0 / 0.6851 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005046/0.9029, allocations: 1.612 MB / 0.6866 GB, free: 0.6484 MB / 0.5294 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.009151/0.912, allocations: 1.87 MB / 0.6885 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00187/0.9139, allocations: 0.5488 MB / 0.689 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.914, allocations: 4.312 kB / 0.689 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005139/0.9145, allocations: 363.2 kB / 0.6894 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/0.9154, allocations: 138.5 kB / 0.6895 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8679/1.783, allocations: 348.1 MB / 1.029 GB, free: 102.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/1.784, allocations: 0.982 MB / 1.03 GB, free: 101.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007608/1.785, allocations: 0.4986 MB / 1.031 GB, free: 100.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/1.785, allocations: 55.41 kB / 1.031 GB, free: 100.9 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/1.785, allocations: 0 / 1.031 GB, free: 100.9 MB / 0.545 GB Notification: Performance of Templates: time 0.2486/2.033, allocations: 58.76 MB / 1.088 GB, free: 213.3 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