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.0009188/0.0009188, allocations: 99.42 kB / 16.99 MB, free: 6.402 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.0009441/0.0009442, allocations: 177 kB / 17.88 MB, free: 5.957 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.407/1.407, allocations: 223.2 MB / 241.8 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2123/0.2123, allocations: 44.22 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003292, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01408/0.1484, allocations: 11.78 MB / 483.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02654/0.1749, allocations: 22.41 MB / 0.4938 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.1753, allocations: 4 kB / 0.4938 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.1757, allocations: 71.69 kB / 0.4939 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02501/0.2007, allocations: 6.731 MB / 0.5004 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2018, allocations: 315 kB / 0.5007 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005823/0.2076, allocations: 3.03 MB / 0.5037 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.2077, allocations: 20.41 kB / 0.5037 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006409/0.2084, allocations: 279 kB / 0.504 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.309/0.5174, allocations: 5.566 MB / 0.5094 GB, free: 16.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.5176, allocations: 7.719 kB / 0.5094 GB, free: 16.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02454/0.5421, allocations: 11.46 MB / 0.5206 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.5423, allocations: 42.25 kB / 0.5207 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.5425, allocations: 77.36 kB / 0.5207 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.554, allocations: 4.502 MB / 0.5251 GB, free: 15.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.554, allocations: 0 / 0.5251 GB, free: 15.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.554, allocations: 0 / 0.5251 GB, free: 15.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.5541, allocations: 0 / 0.5251 GB, free: 15.81 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.006203/0.5603, allocations: 1.549 MB / 0.5266 GB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.5603, allocations: 11.75 kB / 0.5267 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.5618, allocations: 190 kB / 0.5268 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.5621, allocations: 265.8 kB / 0.5271 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.5622, allocations: 27.06 kB / 0.5271 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.5622, allocations: 28.44 kB / 0.5271 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.5641, allocations: 0.7495 MB / 0.5279 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.5642, allocations: 3.844 kB / 0.5279 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.5642, allocations: 15.92 kB / 0.5279 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.5642, allocations: 7.625 kB / 0.5279 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.5661, allocations: 0.8184 MB / 0.5287 GB, free: 13.95 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.002899/0.569, allocations: 2.716 MB / 0.5314 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.5702, allocations: 345.8 kB / 0.5317 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3632/0.9334, allocations: 142.3 MB / 0.6707 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.9348, allocations: 439.3 kB / 0.6711 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 2.595e-06/0.9348, allocations: 0 / 0.6711 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.003692/0.9385, allocations: 1.115 MB / 0.6722 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/0.9387, allocations: 375.7 kB / 0.6725 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.9389, allocations: 189.2 kB / 0.6727 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.9389, allocations: 33.27 kB / 0.6728 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.939, allocations: 188.9 kB / 0.6729 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.401e-05/0.9391, allocations: 110.4 kB / 0.673 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.9392, allocations: 6.5 kB / 0.6731 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9393, allocations: 337 kB / 0.6734 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.9394, allocations: 84.44 kB / 0.6735 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.9397, allocations: 337.8 kB / 0.6738 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.94, allocations: 126.1 kB / 0.6739 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.94, allocations: 4 kB / 0.6739 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007032/0.9407, allocations: 465 kB / 0.6743 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.9407, allocations: 12.19 kB / 0.6744 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.9407, allocations: 12 kB / 0.6744 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.9408, allocations: 19.95 kB / 0.6744 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.9423, allocations: 209.2 kB / 0.6746 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006115/0.9429, allocations: 1.182 MB / 0.6757 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.9432, allocations: 30.03 kB / 0.6758 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/0.9433, allocations: 45.78 kB / 0.6758 GB, free: 1.535 MB / 0.5137 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.9435, allocations: 164.8 kB / 0.676 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.9436, allocations: 23.81 kB / 0.676 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/0.9463, allocations: 2.884 MB / 0.6788 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/0.9463, allocations: 22.72 kB / 0.6788 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.9464, allocations: 7 kB / 0.6788 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.9464, allocations: 3.984 kB / 0.6788 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009947/0.9474, allocations: 0.9694 MB / 0.6798 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.9474, allocations: 4 kB / 0.6798 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.9479, allocations: 104.4 kB / 0.6799 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002415/0.9482, allocations: 167.8 kB / 0.6801 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.9482, allocations: 15.23 kB / 0.6801 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000368/0.9486, allocations: 0.6347 MB / 0.6807 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.9486, allocations: 6.625 kB / 0.6807 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.9497, allocations: 1.108 MB / 0.6818 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.9501, allocations: 352.3 kB / 0.6821 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-05/0.9502, allocations: 11.69 kB / 0.6821 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.9505, allocations: 25.89 kB / 0.6821 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.9506, allocations: 29.66 kB / 0.6822 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.9507, allocations: 19.94 kB / 0.6822 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005432/0.9512, allocations: 464.7 kB / 0.6826 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9512, allocations: 0 / 0.6826 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005969/0.9572, allocations: 1.627 MB / 0.6842 GB, free: 10.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01066/0.9679, allocations: 1.854 MB / 0.686 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001962/0.9699, allocations: 0.5288 MB / 0.6866 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.9699, allocations: 0 / 0.6866 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004843/0.9704, allocations: 366.8 kB / 0.6869 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.9711, allocations: 127.3 kB / 0.687 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.9744, allocations: 2.583 MB / 0.6895 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.9749, allocations: 1.006 MB / 0.6905 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008583/0.9758, allocations: 0.5035 MB / 0.691 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.9759, allocations: 58.33 kB / 0.6911 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of SimCode: time 1.302e-06/0.976, allocations: 0 / 0.6911 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of Templates: time 0.2925/1.268, allocations: 59.07 MB / 0.7488 GB, free: 194.1 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches