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.0009506/0.0009506, allocations: 96.52 kB / 15.69 MB, free: 484 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.001011/0.001011, allocations: 176.1 kB / 16.57 MB, free: 6.848 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.417/1.417, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.372/0.372, allocations: 43.56 MB / 314.5 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.0004858/0.0004859, allocations: 18.64 kB / 383.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 58.87 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01351/0.1476, allocations: 11.79 MB / 454.6 MB, free: 1.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2439/0.3915, allocations: 22.4 MB / 477 MB, free: 31.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.3919, allocations: 0 / 477 MB, free: 31.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.3922, allocations: 75.39 kB / 477 MB, free: 31.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02444/0.4167, allocations: 6.715 MB / 483.7 MB, free: 28.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.4177, allocations: 309.5 kB / 484 MB, free: 27.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004656/0.4224, allocations: 3.038 MB / 487.1 MB, free: 27.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.4225, allocations: 25.36 kB / 487.1 MB, free: 27.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005416/0.423, allocations: 279 kB / 487.4 MB, free: 27.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007691/0.4307, allocations: 5.576 MB / 493 MB, free: 26.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.4308, allocations: 7.906 kB / 493 MB, free: 26.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02442/0.4552, allocations: 10.69 MB / 0.4918 GB, free: 24.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.4555, allocations: 48.75 kB / 0.4919 GB, free: 24.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.4558, allocations: 76.11 kB / 0.492 GB, free: 24.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.4681, allocations: 4.204 MB / 0.4961 GB, free: 23.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4682, allocations: 1.094 kB / 0.4961 GB, free: 23.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4682, allocations: 0 / 0.4961 GB, free: 23.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.4682, allocations: 0 / 0.4961 GB, free: 23.12 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.006997/0.4752, allocations: 1.487 MB / 0.4975 GB, free: 22.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.4753, allocations: 13.12 kB / 0.4975 GB, free: 22.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.4769, allocations: 229.2 kB / 0.4978 GB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.4772, allocations: 274.8 kB / 0.498 GB, free: 21.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.4772, allocations: 25.56 kB / 0.498 GB, free: 21.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.4773, allocations: 27.31 kB / 0.4981 GB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.4794, allocations: 0.8196 MB / 0.4989 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.4795, allocations: 5.312 kB / 0.4989 GB, free: 21.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.4795, allocations: 17.38 kB / 0.4989 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4795, allocations: 8.938 kB / 0.4989 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.4818, allocations: 0.9471 MB / 0.4998 GB, free: 20.7 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.003181/0.485, allocations: 2.591 MB / 0.5024 GB, free: 18.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.4862, allocations: 377.2 kB / 0.5027 GB, free: 18.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8126/1.299, allocations: 227.1 MB / 0.7245 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001466/1.3, allocations: 475.3 kB / 0.725 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.455e-06/1.3, allocations: 0 / 0.725 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.002852/1.303, allocations: 0.7781 MB / 0.7257 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/1.303, allocations: 374 kB / 0.7261 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/1.304, allocations: 187.4 kB / 0.7262 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/1.304, allocations: 33.64 kB / 0.7263 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/1.304, allocations: 190.8 kB / 0.7265 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/1.304, allocations: 105.4 kB / 0.7266 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/1.304, allocations: 5.75 kB / 0.7266 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.172e-05/1.304, allocations: 332.4 kB / 0.7269 GB, free: 103 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/1.304, allocations: 83.25 kB / 0.727 GB, free: 103 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/1.304, allocations: 347.8 kB / 0.7273 GB, free: 102.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/1.305, allocations: 123.8 kB / 0.7274 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.305, allocations: 4 kB / 0.7274 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007583/1.305, allocations: 473.8 kB / 0.7279 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/1.305, allocations: 8 kB / 0.7279 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/1.305, allocations: 16.09 kB / 0.7279 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-05/1.306, allocations: 12 kB / 0.7279 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/1.306, allocations: 142.5 kB / 0.728 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/1.306, allocations: 15.94 kB / 0.7281 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/1.306, allocations: 55.45 kB / 0.7281 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/1.306, allocations: 43.98 kB / 0.7281 GB, free: 101.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001896/1.307, allocations: 153.7 kB / 0.7283 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.77e-05/1.307, allocations: 47.59 kB / 0.7283 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/1.309, allocations: 2.644 MB / 0.7309 GB, free: 98.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.383e-05/1.31, allocations: 20.66 kB / 0.7309 GB, free: 98.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.31, allocations: 7.938 kB / 0.7309 GB, free: 98.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/1.31, allocations: 4 kB / 0.731 GB, free: 98.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/1.311, allocations: 0.9317 MB / 0.7319 GB, free: 97.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.311, allocations: 7.844 kB / 0.7319 GB, free: 97.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/1.311, allocations: 72.42 kB / 0.7319 GB, free: 97.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/1.311, allocations: 4 kB / 0.7319 GB, free: 97.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/1.311, allocations: 15.95 kB / 0.732 GB, free: 97.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/1.311, allocations: 8.688 kB / 0.732 GB, free: 97.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.311, allocations: 4 kB / 0.732 GB, free: 97.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000864/1.312, allocations: 0.8321 MB / 0.7328 GB, free: 96.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/1.312, allocations: 382.8 kB / 0.7331 GB, free: 96.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.313, allocations: 15.95 kB / 0.7332 GB, free: 96.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/1.313, allocations: 24.86 kB / 0.7332 GB, free: 96.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/1.313, allocations: 31.81 kB / 0.7332 GB, free: 96.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/1.313, allocations: 16 kB / 0.7332 GB, free: 96.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004984/1.313, allocations: 0.5001 MB / 0.7337 GB, free: 95.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.314, allocations: 3.938 kB / 0.7337 GB, free: 95.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007754/1.321, allocations: 1.51 MB / 0.7352 GB, free: 94.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01169/1.333, allocations: 1.722 MB / 0.7369 GB, free: 92.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008431/1.334, allocations: 408.5 kB / 0.7373 GB, free: 92.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/1.334, allocations: 0 / 0.7373 GB, free: 92.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003397/1.334, allocations: 280.7 kB / 0.7375 GB, free: 92.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007954/1.335, allocations: 124.4 kB / 0.7377 GB, free: 91.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/1.338, allocations: 2.595 MB / 0.7402 GB, free: 89.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/1.338, allocations: 1.005 MB / 0.7412 GB, free: 88.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007599/1.339, allocations: 0.5228 MB / 0.7417 GB, free: 88.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/1.339, allocations: 63.41 kB / 0.7417 GB, free: 87.96 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/1.339, allocations: 3.938 kB / 0.7417 GB, free: 87.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.06649/1.406, allocations: 56.18 MB / 0.7966 GB, free: 31.77 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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