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.0009217/0.0009219, allocations: 102.4 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.676/1.676, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.475/0.475, allocations: 43.58 MB / 315 MB, free: 9.016 MB / 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.000636/0.0006361, allocations: 14.19 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1573, allocations: 58.86 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.3359/0.4933, allocations: 14.14 MB / 457.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03078/0.5242, allocations: 27.82 MB / 485.4 MB, free: 25.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000492/0.5247, allocations: 3.312 kB / 485.4 MB, free: 25.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.5254, allocations: 90.77 kB / 485.5 MB, free: 25.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03156/0.5569, allocations: 6.821 MB / 492.3 MB, free: 22.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.5583, allocations: 320.1 kB / 492.6 MB, free: 22.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004683/0.563, allocations: 2.025 MB / 494.7 MB, free: 21.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.006e-05/0.5631, allocations: 21.56 kB / 494.7 MB, free: 21.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006799/0.5638, allocations: 262.4 kB / 494.9 MB, free: 21.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007682/0.5715, allocations: 3.268 MB / 498.2 MB, free: 19.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.815e-05/0.5716, allocations: 9.062 kB / 498.2 MB, free: 19.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03435/0.606, allocations: 11.49 MB / 0.4977 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.6062, allocations: 41.64 kB / 0.4978 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003782/0.6066, allocations: 167.1 kB / 0.4979 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02863/0.6352, allocations: 6.732 MB / 0.5045 GB, free: 12.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.6353, allocations: 0 / 0.5045 GB, free: 12.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.6353, allocations: 0 / 0.5045 GB, free: 12.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.6353, allocations: 0 / 0.5045 GB, free: 12.98 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.008455/0.6438, allocations: 1.538 MB / 0.506 GB, free: 11.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.6439, allocations: 9.625 kB / 0.506 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.6454, allocations: 190.2 kB / 0.5062 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.6458, allocations: 267.8 kB / 0.5065 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.6458, allocations: 26.41 kB / 0.5065 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.6459, allocations: 35.25 kB / 0.5065 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.6479, allocations: 0.7606 MB / 0.5073 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.648, allocations: 1.125 kB / 0.5073 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.648, allocations: 19.72 kB / 0.5073 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.648, allocations: 8 kB / 0.5073 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.6501, allocations: 0.8182 MB / 0.5081 GB, free: 10.62 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.003049/0.6532, allocations: 2.721 MB / 0.5108 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.6543, allocations: 348.8 kB / 0.5111 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.6545, allocations: 77.92 kB / 0.5112 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7721/1.427, allocations: 142.4 MB / 0.6503 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/1.428, allocations: 447.9 kB / 0.6507 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 3.096e-06/1.428, allocations: 0 / 0.6507 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003994/1.432, allocations: 1.115 MB / 0.6518 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/1.432, allocations: 376.9 kB / 0.6521 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/1.432, allocations: 182.1 kB / 0.6523 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/1.432, allocations: 35.45 kB / 0.6524 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/1.432, allocations: 185.3 kB / 0.6525 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.81e-05/1.433, allocations: 119.8 kB / 0.6526 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/1.433, allocations: 42.59 kB / 0.6527 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.952e-05/1.433, allocations: 333.8 kB / 0.653 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/1.433, allocations: 80.56 kB / 0.6531 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/1.433, allocations: 345.2 kB / 0.6534 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/1.434, allocations: 482.3 kB / 0.6539 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.434, allocations: 6.578 kB / 0.6539 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007422/1.434, allocations: 467.4 kB / 0.6543 GB, free: 161 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/1.434, allocations: 16.64 kB / 0.6543 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.434, allocations: 9.656 kB / 0.6543 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/1.435, allocations: 12.84 kB / 0.6544 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.436, allocations: 210 kB / 0.6546 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005479/1.437, allocations: 1.183 MB / 0.6557 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/1.437, allocations: 27.78 kB / 0.6557 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/1.437, allocations: 43.64 kB / 0.6558 GB, free: 159.8 MB / 0.4981 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.0002034/1.437, allocations: 162.9 kB / 0.6559 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/1.437, allocations: 24.84 kB / 0.656 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/1.44, allocations: 2.842 MB / 0.6587 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-05/1.441, allocations: 20.02 kB / 0.6588 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/1.441, allocations: 5.344 kB / 0.6588 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/1.441, allocations: 9.594 kB / 0.6588 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/1.442, allocations: 0.964 MB / 0.6597 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.442, allocations: 7.188 kB / 0.6597 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005633/1.442, allocations: 104.9 kB / 0.6598 GB, free: 158.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003365/1.443, allocations: 161.6 kB / 0.66 GB, free: 158.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/1.443, allocations: 13.52 kB / 0.66 GB, free: 158.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004492/1.443, allocations: 0.6458 MB / 0.6606 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.443, allocations: 6.562 kB / 0.6606 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/1.445, allocations: 0.9837 MB / 0.6616 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/1.445, allocations: 342.8 kB / 0.6619 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/1.445, allocations: 13.95 kB / 0.6619 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/1.445, allocations: 26.56 kB / 0.6619 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/1.445, allocations: 30.97 kB / 0.662 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/1.445, allocations: 20.3 kB / 0.662 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005404/1.446, allocations: 471.8 kB / 0.6624 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.446, allocations: 0 / 0.6624 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008826/1.455, allocations: 1.606 MB / 0.664 GB, free: 157.4 MB / 0.4981 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.0164/1.471, allocations: 1.86 MB / 0.6658 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002413/1.474, allocations: 0.539 MB / 0.6664 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.474, allocations: 0 / 0.6664 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005519/1.474, allocations: 358.4 kB / 0.6667 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/1.476, allocations: 133.8 kB / 0.6668 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9946/2.47, allocations: 347.6 MB / 1.006 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006203/2.471, allocations: 0.9896 MB / 1.007 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001034/2.472, allocations: 0.5023 MB / 1.008 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/2.472, allocations: 56.53 kB / 1.008 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.715e-06/2.472, allocations: 0 / 1.008 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.09003/2.562, allocations: 58.28 MB / 1.065 GB, free: 132.1 MB / 0.4981 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches