Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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_ph,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_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,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_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 102.6 kB / 16.27 MB, free: 5.875 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.001444/0.001444, allocations: 189.3 kB / 17.19 MB, free: 5.52 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.642/1.642, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2279/0.2279, allocations: 43.52 MB / 313.9 MB, free: 0.5469 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.001734/0.001734, allocations: 68.08 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1332, allocations: 57.79 MB / 440.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01547/0.1487, allocations: 13.82 MB / 454.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03278/0.1816, allocations: 26.59 MB / 480.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.182, allocations: 4 kB / 480.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.1827, allocations: 99.33 kB / 481 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02546/0.2082, allocations: 8.513 MB / 489.5 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2092, allocations: 350.8 kB / 489.9 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004645/0.2139, allocations: 1.998 MB / 491.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.214, allocations: 24.41 kB / 491.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006056/0.2146, allocations: 266.8 kB / 492.2 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007565/0.2222, allocations: 3.266 MB / 495.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.228e-05/0.2223, allocations: 12 kB / 495.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02964/0.2519, allocations: 10.54 MB / 0.4941 GB, free: 5.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.2521, allocations: 47.81 kB / 0.4942 GB, free: 5.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.2526, allocations: 147.3 kB / 0.4943 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01889/0.2715, allocations: 6.308 MB / 0.5005 GB, free: 14.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2715, allocations: 0 / 0.5005 GB, free: 14.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2715, allocations: 4 kB / 0.5005 GB, free: 14.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2715, allocations: 0 / 0.5005 GB, free: 14.69 MB / 398.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.005529/0.2771, allocations: 1.556 MB / 0.502 GB, free: 13.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.2771, allocations: 11.89 kB / 0.502 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.279, allocations: 220.4 kB / 0.5022 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.2794, allocations: 275.8 kB / 0.5025 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.2794, allocations: 21.03 kB / 0.5025 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.2795, allocations: 36.12 kB / 0.5025 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.2819, allocations: 0.8249 MB / 0.5033 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.282, allocations: 7.938 kB / 0.5033 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.282, allocations: 12 kB / 0.5034 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.282, allocations: 8 kB / 0.5034 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.2845, allocations: 0.9347 MB / 0.5043 GB, free: 10.66 MB / 398.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.003507/0.2881, allocations: 2.57 MB / 0.5068 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.2895, allocations: 386.1 kB / 0.5072 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.2897, allocations: 72.83 kB / 0.5072 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144/1.434, allocations: 224.9 MB / 0.7269 GB, free: 180.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/1.435, allocations: 479.7 kB / 0.7273 GB, free: 180.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 3.336e-06/1.435, allocations: 0 / 0.7273 GB, free: 180.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003155/1.439, allocations: 0.7782 MB / 0.7281 GB, free: 179.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/1.439, allocations: 377.4 kB / 0.7284 GB, free: 179.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/1.439, allocations: 182.3 kB / 0.7286 GB, free: 179.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/1.439, allocations: 32.2 kB / 0.7286 GB, free: 179.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/1.439, allocations: 183.3 kB / 0.7288 GB, free: 179.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/1.439, allocations: 116.9 kB / 0.7289 GB, free: 179 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/1.44, allocations: 124.7 kB / 0.729 GB, free: 179 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.44, allocations: 327.9 kB / 0.7294 GB, free: 178.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/1.44, allocations: 89.61 kB / 0.7294 GB, free: 178.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/1.44, allocations: 344.9 kB / 0.7298 GB, free: 178.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/1.441, allocations: 481.2 kB / 0.7302 GB, free: 177.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.441, allocations: 2.656 kB / 0.7302 GB, free: 177.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009683/1.442, allocations: 470 kB / 0.7307 GB, free: 177.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.442, allocations: 13.45 kB / 0.7307 GB, free: 177.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.442, allocations: 8.656 kB / 0.7307 GB, free: 177.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.275e-05/1.442, allocations: 12.31 kB / 0.7307 GB, free: 177.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/1.443, allocations: 145.2 kB / 0.7309 GB, free: 177.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.542e-05/1.443, allocations: 20.45 kB / 0.7309 GB, free: 177.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/1.443, allocations: 47.03 kB / 0.7309 GB, free: 177.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-05/1.443, allocations: 49.98 kB / 0.731 GB, free: 177.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001829/1.443, allocations: 165.6 kB / 0.7311 GB, free: 177.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.904e-05/1.443, allocations: 26.97 kB / 0.7311 GB, free: 177.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/1.446, allocations: 2.61 MB / 0.7337 GB, free: 176.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/1.446, allocations: 23.84 kB / 0.7337 GB, free: 176.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.446, allocations: 3.969 kB / 0.7337 GB, free: 176.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/1.446, allocations: 3.969 kB / 0.7337 GB, free: 176.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008316/1.447, allocations: 0.9256 MB / 0.7346 GB, free: 176.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.447, allocations: 3.969 kB / 0.7346 GB, free: 176.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/1.447, allocations: 72.12 kB / 0.7347 GB, free: 176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/1.447, allocations: 11.62 kB / 0.7347 GB, free: 176 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/1.447, allocations: 11.73 kB / 0.7347 GB, free: 176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/1.447, allocations: 19.42 kB / 0.7347 GB, free: 176 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.447, allocations: 0.5 kB / 0.7347 GB, free: 176 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008796/1.448, allocations: 0.7004 MB / 0.7354 GB, free: 175.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/1.448, allocations: 124.2 kB / 0.7355 GB, free: 175.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/1.448, allocations: 101.3 kB / 0.7356 GB, free: 175.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/1.449, allocations: 21.27 kB / 0.7357 GB, free: 175.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/1.449, allocations: 31.8 kB / 0.7357 GB, free: 175.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/1.449, allocations: 15.91 kB / 0.7357 GB, free: 175.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005222/1.449, allocations: 0.5079 MB / 0.7362 GB, free: 175 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/1.449, allocations: 0 / 0.7362 GB, free: 175 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005361/1.455, allocations: 1.502 MB / 0.7377 GB, free: 174.8 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: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006765/1.462, allocations: 1.733 MB / 0.7394 GB, free: 174.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001319/1.463, allocations: 437.2 kB / 0.7398 GB, free: 174.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.463, allocations: 0 / 0.7398 GB, free: 174.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003647/1.463, allocations: 278 kB / 0.74 GB, free: 174 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009488/1.464, allocations: 137.8 kB / 0.7402 GB, free: 173.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.502/2.967, allocations: 0.5999 GB / 1.34 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/2.967, allocations: 0.9856 MB / 1.341 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007537/2.968, allocations: 0.5237 MB / 1.342 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/2.968, allocations: 55.41 kB / 1.342 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/2.968, allocations: 4 kB / 1.342 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.05734/3.025, allocations: 55.79 MB / 1.396 GB, free: 60.03 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches