Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008312/0.0008313, allocations: 80.12 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2088/0.2088, allocations: 44.16 MB / 382.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.521e-05, allocations: 4.219 kB / 451.8 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1433, allocations: 61.91 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.295/6.438, allocations: 2.757 GB / 3.259 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/6.439, allocations: 80.73 kB / 3.259 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7409/7.18, allocations: 217.8 MB / 3.472 GB, free: 96.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.183e-06/7.18, allocations: 0 / 3.472 GB, free: 96.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.207e-05/7.18, allocations: 6.375 kB / 3.472 GB, free: 96.71 MB / 0.5261 GB 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.007061/7.187, allocations: 1.751 MB / 3.473 GB, free: 95.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/7.187, allocations: 11.69 kB / 3.473 GB, free: 95.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/7.188, allocations: 230.2 kB / 3.473 GB, free: 95.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/7.189, allocations: 287.1 kB / 3.474 GB, free: 95.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/7.189, allocations: 24.22 kB / 3.474 GB, free: 95.58 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/7.189, allocations: 31.25 kB / 3.474 GB, free: 95.58 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/7.191, allocations: 0.8554 MB / 3.475 GB, free: 95.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/7.191, allocations: 1.688 kB / 3.475 GB, free: 95.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/7.191, allocations: 17.66 kB / 3.475 GB, free: 95.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/7.191, allocations: 7.469 kB / 3.475 GB, free: 95.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/7.193, allocations: 0.9539 MB / 3.476 GB, free: 95.44 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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/7.196, allocations: 2.77 MB / 3.478 GB, free: 93.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/7.197, allocations: 421.7 kB / 3.479 GB, free: 93.56 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.493e-05/7.197, allocations: 73.05 kB / 3.479 GB, free: 93.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7819/7.979, allocations: 224.8 MB / 3.698 GB, free: 83.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/7.98, allocations: 0.5067 MB / 3.699 GB, free: 83.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 4.468e-06/7.98, allocations: 0 / 3.699 GB, free: 83.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.00253/7.983, allocations: 0.7938 MB / 3.7 GB, free: 83.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/7.983, allocations: 375.2 kB / 3.7 GB, free: 82.85 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/7.983, allocations: 168.8 kB / 3.7 GB, free: 82.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/7.983, allocations: 35.42 kB / 3.7 GB, free: 82.72 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/7.983, allocations: 183.8 kB / 3.7 GB, free: 82.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.486e-05/7.983, allocations: 115.3 kB / 3.7 GB, free: 82.54 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/7.983, allocations: 10.72 kB / 3.7 GB, free: 82.54 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.256e-05/7.983, allocations: 331.5 kB / 3.701 GB, free: 82.22 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/7.983, allocations: 72.44 kB / 3.701 GB, free: 82.22 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/7.984, allocations: 331.7 kB / 3.701 GB, free: 81.88 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/7.984, allocations: 119.3 kB / 3.701 GB, free: 81.87 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/7.984, allocations: 7.594 kB / 3.701 GB, free: 81.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007017/7.984, allocations: 443.8 kB / 3.702 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/7.985, allocations: 12.5 kB / 3.702 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/7.985, allocations: 7.938 kB / 3.702 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/7.985, allocations: 15.78 kB / 3.702 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/7.985, allocations: 141.5 kB / 3.702 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/7.985, allocations: 17.44 kB / 3.702 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/7.985, allocations: 47.19 kB / 3.702 GB, free: 81.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/7.985, allocations: 44.55 kB / 3.702 GB, free: 81.8 MB / 0.5417 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_h_is.phase,state.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete 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.0001218/7.986, allocations: 143.5 kB / 3.702 GB, free: 81.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/7.986, allocations: 26.06 kB / 3.702 GB, free: 81.69 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/7.987, allocations: 1.767 MB / 3.704 GB, free: 81.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/7.987, allocations: 22.61 kB / 3.704 GB, free: 81.43 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/7.987, allocations: 3.875 kB / 3.704 GB, free: 81.43 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/7.987, allocations: 3.594 kB / 3.704 GB, free: 81.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009464/7.988, allocations: 0.9005 MB / 3.705 GB, free: 81.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/7.988, allocations: 6.156 kB / 3.705 GB, free: 81.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/7.989, allocations: 83.94 kB / 3.705 GB, free: 81.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/7.989, allocations: 3.969 kB / 3.705 GB, free: 81.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/7.989, allocations: 21.98 kB / 3.705 GB, free: 81.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/7.989, allocations: 3.969 kB / 3.705 GB, free: 81.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/7.989, allocations: 4.812 kB / 3.705 GB, free: 81.16 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/7.989, allocations: 0.8307 MB / 3.706 GB, free: 80.72 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/7.99, allocations: 334 kB / 3.706 GB, free: 80.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.111e-05/7.99, allocations: 14.75 kB / 3.706 GB, free: 80.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/7.99, allocations: 18.7 kB / 3.706 GB, free: 80.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/7.99, allocations: 45.25 kB / 3.706 GB, free: 80.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/7.99, allocations: 22.05 kB / 3.706 GB, free: 80.53 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003935/7.991, allocations: 426.3 kB / 3.707 GB, free: 80.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.81e-07/7.991, allocations: 0 / 3.707 GB, free: 80.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006101/7.997, allocations: 1.521 MB / 3.708 GB, free: 80.34 MB / 0.5417 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 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition1,medium.phase) * Number of discrete 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.01106/8.008, allocations: 1.884 MB / 3.71 GB, free: 80 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006892/8.009, allocations: 390.5 kB / 3.71 GB, free: 79.99 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/8.009, allocations: 0 / 3.71 GB, free: 79.99 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003069/8.009, allocations: 285.2 kB / 3.711 GB, free: 79.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008334/8.01, allocations: 129.5 kB / 3.711 GB, free: 79.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.117/10.13, allocations: 0.7564 GB / 4.467 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/10.13, allocations: 0.9669 MB / 4.468 GB, free: 102 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00126/10.13, allocations: 1.069 MB / 4.469 GB, free: 102 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/10.13, allocations: 62.09 kB / 4.469 GB, free: 102 MB / 0.5417 GB Notification: Performance of SimCode: time 7.62e-07/10.13, allocations: 2.078 kB / 4.469 GB, free: 102 MB / 0.5417 GB Notification: Performance of Templates: time 0.04402/10.17, allocations: 37.9 MB / 4.506 GB, free: 101.7 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches