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.001072/0.001072, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.00104/0.00104, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.335/1.335, allocations: 222.9 MB / 242.9 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.2037/0.2037, allocations: 44.17 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001194, allocations: 62.17 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.09904, allocations: 60.82 MB / 469.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01687/0.116, allocations: 13.81 MB / 483.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02827/0.1443, allocations: 26.6 MB / 0.4984 GB, free: 5.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.1445, allocations: 4 kB / 0.4984 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.1449, allocations: 95.39 kB / 0.4985 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2205/0.3654, allocations: 8.512 MB / 0.5068 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009036/0.3664, allocations: 344.5 kB / 0.5071 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00446/0.3708, allocations: 2.001 MB / 0.5091 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.3709, allocations: 21.73 kB / 0.5091 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/0.3714, allocations: 260.9 kB / 0.5093 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007116/0.3786, allocations: 3.258 MB / 0.5125 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.728e-05/0.3787, allocations: 13.56 kB / 0.5125 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02332/0.402, allocations: 11.34 MB / 0.5236 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.4022, allocations: 52.3 kB / 0.5236 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.4025, allocations: 130.4 kB / 0.5238 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01556/0.418, allocations: 6.759 MB / 0.5304 GB, free: 9.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4181, allocations: 6.875 kB / 0.5304 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4181, allocations: 0 / 0.5304 GB, free: 9.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4181, allocations: 0 / 0.5304 GB, free: 9.723 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.004611/0.4227, allocations: 1.615 MB / 0.532 GB, free: 8.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4228, allocations: 11.03 kB / 0.532 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.4242, allocations: 186.6 kB / 0.5321 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.4245, allocations: 270.2 kB / 0.5324 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.4245, allocations: 25.72 kB / 0.5324 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.4246, allocations: 28.31 kB / 0.5325 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.4265, allocations: 0.7597 MB / 0.5332 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.4265, allocations: 3.984 kB / 0.5332 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.4266, allocations: 15.22 kB / 0.5332 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.4266, allocations: 9.875 kB / 0.5332 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.4285, allocations: 0.8172 MB / 0.534 GB, free: 7.375 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.002581/0.4311, allocations: 2.714 MB / 0.5367 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.4322, allocations: 348.9 kB / 0.537 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/0.4324, allocations: 71.7 kB / 0.5371 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3688/0.8011, allocations: 141 MB / 0.6748 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/0.8026, allocations: 445.9 kB / 0.6752 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 3.737e-06/0.8026, allocations: 4 kB / 0.6752 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.003918/0.8065, allocations: 1.123 MB / 0.6763 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.8067, allocations: 372 kB / 0.6767 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.8069, allocations: 186.2 kB / 0.6768 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.807, allocations: 29.7 kB / 0.6769 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/0.8071, allocations: 189.1 kB / 0.677 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.8072, allocations: 114.8 kB / 0.6772 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.8073, allocations: 122.1 kB / 0.6773 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.8074, allocations: 338.8 kB / 0.6776 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.8076, allocations: 77.81 kB / 0.6777 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.808, allocations: 346.4 kB / 0.678 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/0.8086, allocations: 487.5 kB / 0.6785 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.8086, allocations: 0 / 0.6785 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008725/0.8094, allocations: 473.6 kB / 0.6789 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.8095, allocations: 15.92 kB / 0.6789 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.8095, allocations: 11.56 kB / 0.6789 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.8095, allocations: 19.44 kB / 0.679 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.8111, allocations: 210.1 kB / 0.6792 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000571/0.8117, allocations: 1.189 MB / 0.6803 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.812, allocations: 23.94 kB / 0.6803 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/0.8121, allocations: 43.97 kB / 0.6804 GB, free: 7.445 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.0001813/0.8123, allocations: 160.7 kB / 0.6805 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.806e-05/0.8124, allocations: 23.72 kB / 0.6806 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/0.8152, allocations: 2.842 MB / 0.6833 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.8152, allocations: 19.97 kB / 0.6834 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.8152, allocations: 4 kB / 0.6834 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.8152, allocations: 8.359 kB / 0.6834 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009385/0.8162, allocations: 0.9706 MB / 0.6843 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.8162, allocations: 4 kB / 0.6843 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/0.8167, allocations: 98.52 kB / 0.6844 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/0.8169, allocations: 158.8 kB / 0.6846 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.817, allocations: 12 kB / 0.6846 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000372/0.8174, allocations: 0.6481 MB / 0.6852 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.8174, allocations: 5.094 kB / 0.6852 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.8186, allocations: 0.9782 MB / 0.6862 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-05/0.8187, allocations: 124.5 kB / 0.6863 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.8188, allocations: 94.66 kB / 0.6864 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.8191, allocations: 19.98 kB / 0.6864 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.8192, allocations: 34.91 kB / 0.6864 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.8192, allocations: 15.98 kB / 0.6864 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005266/0.8197, allocations: 471 kB / 0.6869 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8198, allocations: 5.641 kB / 0.6869 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004888/0.8246, allocations: 1.609 MB / 0.6885 GB, free: 15.05 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.00862/0.8333, allocations: 1.874 MB / 0.6903 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.8351, allocations: 0.5445 MB / 0.6908 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.8352, allocations: 1.688 kB / 0.6908 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.8357, allocations: 367.5 kB / 0.6912 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009269/0.8366, allocations: 142.2 kB / 0.6913 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7998/1.636, allocations: 347.8 MB / 1.031 GB, free: 94.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/1.637, allocations: 0.9781 MB / 1.032 GB, free: 93.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/1.637, allocations: 63.39 kB / 1.032 GB, free: 93.52 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/1.637, allocations: 0 / 1.032 GB, free: 93.52 MB / 0.545 GB Notification: Performance of Templates: time 0.04151/1.678, allocations: 37.67 MB / 1.069 GB, free: 55.88 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/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