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.001073/0.001073, allocations: 102.6 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.001371/0.001371, allocations: 184.7 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.697/1.697, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.4433/0.4433, allocations: 43.57 MB / 315 MB, free: 8.758 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.0005943/0.0005944, allocations: 14.66 kB / 384.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1665, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.3156/0.4822, allocations: 14.13 MB / 457.6 MB, free: 36.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02903/0.5113, allocations: 27.82 MB / 485.4 MB, free: 25.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004007/0.5118, allocations: 0 / 485.4 MB, free: 25.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.5122, allocations: 88.62 kB / 485.5 MB, free: 25.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02623/0.5385, allocations: 6.819 MB / 492.3 MB, free: 22.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009142/0.5394, allocations: 320.2 kB / 492.6 MB, free: 22.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003415/0.5428, allocations: 2.027 MB / 494.7 MB, free: 21.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.457e-05/0.5429, allocations: 22.17 kB / 494.7 MB, free: 21.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.5434, allocations: 263.7 kB / 494.9 MB, free: 21.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00541/0.5488, allocations: 3.273 MB / 498.2 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.5489, allocations: 9.062 kB / 498.2 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02813/0.577, allocations: 10.71 MB / 0.497 GB, free: 17.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.5772, allocations: 45.86 kB / 0.497 GB, free: 17.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.5776, allocations: 167.8 kB / 0.4972 GB, free: 17.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03043/0.608, allocations: 6.294 MB / 0.5033 GB, free: 13.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.6081, allocations: 0 / 0.5033 GB, free: 13.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6081, allocations: 0 / 0.5033 GB, free: 13.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.6081, allocations: 0 / 0.5033 GB, free: 13.63 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.007308/0.6154, allocations: 1.489 MB / 0.5048 GB, free: 12.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/0.6155, allocations: 9.156 kB / 0.5048 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.6173, allocations: 235.6 kB / 0.505 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.6176, allocations: 273.4 kB / 0.5053 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.6177, allocations: 22.34 kB / 0.5053 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.6177, allocations: 35.48 kB / 0.5054 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.6201, allocations: 0.8404 MB / 0.5062 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.6201, allocations: 5.094 kB / 0.5062 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.6202, allocations: 12.03 kB / 0.5062 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.6202, allocations: 8.406 kB / 0.5062 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.6226, allocations: 0.9451 MB / 0.5071 GB, free: 11.2 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.002945/0.6256, allocations: 2.588 MB / 0.5096 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.6269, allocations: 376.7 kB / 0.51 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.6271, allocations: 93.41 kB / 0.5101 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9469/1.574, allocations: 227.1 MB / 0.7318 GB, free: 97.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001758/1.576, allocations: 478.7 kB / 0.7323 GB, free: 97.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 6.943e-06/1.576, allocations: 0 / 0.7323 GB, free: 97.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003188/1.579, allocations: 0.779 MB / 0.7331 GB, free: 96.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.579, allocations: 377.1 kB / 0.7334 GB, free: 96.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/1.579, allocations: 183.8 kB / 0.7336 GB, free: 96.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/1.58, allocations: 33.7 kB / 0.7336 GB, free: 96.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/1.58, allocations: 193.8 kB / 0.7338 GB, free: 95.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/1.58, allocations: 110.2 kB / 0.7339 GB, free: 95.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.94e-05/1.58, allocations: 49.69 kB / 0.734 GB, free: 95.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.873e-05/1.58, allocations: 329.5 kB / 0.7343 GB, free: 95.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/1.58, allocations: 81.06 kB / 0.7344 GB, free: 95.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/1.58, allocations: 342.7 kB / 0.7347 GB, free: 94.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/1.581, allocations: 477.9 kB / 0.7351 GB, free: 94.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/1.581, allocations: 4 kB / 0.7351 GB, free: 94.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008736/1.582, allocations: 472.7 kB / 0.7356 GB, free: 93.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.582, allocations: 8.906 kB / 0.7356 GB, free: 93.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/1.582, allocations: 8 kB / 0.7356 GB, free: 93.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/1.582, allocations: 12 kB / 0.7356 GB, free: 93.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/1.582, allocations: 147.7 kB / 0.7358 GB, free: 93.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/1.582, allocations: 23.86 kB / 0.7358 GB, free: 93.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/1.583, allocations: 47.5 kB / 0.7358 GB, free: 93.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/1.583, allocations: 51.94 kB / 0.7359 GB, free: 93.55 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.0002035/1.583, allocations: 157.6 kB / 0.736 GB, free: 93.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/1.583, allocations: 27.81 kB / 0.7361 GB, free: 93.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/1.586, allocations: 2.607 MB / 0.7386 GB, free: 90.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/1.586, allocations: 15.98 kB / 0.7386 GB, free: 90.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.586, allocations: 7.938 kB / 0.7386 GB, free: 90.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/1.586, allocations: 8.984 kB / 0.7386 GB, free: 90.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/1.587, allocations: 0.9316 MB / 0.7395 GB, free: 89.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.587, allocations: 7.984 kB / 0.7395 GB, free: 89.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/1.587, allocations: 67.88 kB / 0.7396 GB, free: 89.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/1.588, allocations: 4 kB / 0.7396 GB, free: 89.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/1.588, allocations: 15.98 kB / 0.7396 GB, free: 89.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/1.588, allocations: 8.438 kB / 0.7396 GB, free: 89.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.588, allocations: 15.88 kB / 0.7397 GB, free: 89.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009894/1.589, allocations: 0.6889 MB / 0.7403 GB, free: 88.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/1.589, allocations: 378.8 kB / 0.7407 GB, free: 88.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/1.589, allocations: 11.98 kB / 0.7407 GB, free: 88.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/1.589, allocations: 27.92 kB / 0.7407 GB, free: 88.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/1.589, allocations: 35.83 kB / 0.7408 GB, free: 88.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/1.59, allocations: 16 kB / 0.7408 GB, free: 88.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005682/1.59, allocations: 0.504 MB / 0.7413 GB, free: 87.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.2e-07/1.59, allocations: 0 / 0.7413 GB, free: 87.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007374/1.597, allocations: 1.508 MB / 0.7427 GB, free: 86.52 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.01266/1.61, allocations: 1.714 MB / 0.7444 GB, free: 84.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001012/1.611, allocations: 408 kB / 0.7448 GB, free: 84.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.611, allocations: 0.8125 kB / 0.7448 GB, free: 84.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003906/1.612, allocations: 280.7 kB / 0.7451 GB, free: 84.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/1.613, allocations: 143 kB / 0.7452 GB, free: 84.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.608/3.221, allocations: 0.5995 GB / 1.345 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/3.221, allocations: 0.9934 MB / 1.346 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007774/3.222, allocations: 0.5188 MB / 1.346 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/3.222, allocations: 63.39 kB / 1.346 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of SimCode: time 1.162e-06/3.222, allocations: 0 / 1.346 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.3207/3.543, allocations: 55.42 MB / 1.4 GB, free: 153.3 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches