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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 165.7 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3897/0.3897, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.477e-05/3.63e-05, allocations: 13.34 kB / 375.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01919/0.01922, allocations: 12.71 MB / 388 MB, free: 8.176 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0349/0.05412, allocations: 23.37 MB / 411.4 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.05434, allocations: 4 kB / 411.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.05476, allocations: 83.38 kB / 411.5 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02665/0.08141, allocations: 8.62 MB / 420.1 MB, free: 7.977 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.08249, allocations: 342.7 kB / 420.4 MB, free: 7.641 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004508/0.087, allocations: 2.029 MB / 422.4 MB, free: 5.586 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.687e-05/0.08706, allocations: 12.59 kB / 422.5 MB, free: 5.578 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005942/0.08766, allocations: 314.9 kB / 422.8 MB, free: 5.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007045/0.0947, allocations: 3.27 MB / 426 MB, free: 1.945 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.09476, allocations: 12 kB / 426.1 MB, free: 1.934 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02157/0.1163, allocations: 10.35 MB / 436.4 MB, free: 7.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1164, allocations: 51.75 kB / 436.5 MB, free: 7.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.1167, allocations: 103.8 kB / 436.6 MB, free: 7.418 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2055/0.3222, allocations: 8.025 MB / 444.6 MB, free: 66.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.3222, allocations: 0 / 444.6 MB, free: 66.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3222, allocations: 2.5 kB / 444.6 MB, free: 66.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3222, allocations: 0 / 444.6 MB, free: 66.1 MB / 410.7 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.005251/0.3275, allocations: 1.52 MB / 446.1 MB, free: 65.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3275, allocations: 8.812 kB / 446.1 MB, free: 65.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.3294, allocations: 345.4 kB / 446.4 MB, free: 65.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.3299, allocations: 221.2 kB / 446.7 MB, free: 65.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.33, allocations: 26.56 kB / 446.7 MB, free: 65.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.33, allocations: 31.59 kB / 446.7 MB, free: 65.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.3322, allocations: 0.875 MB / 447.6 MB, free: 65.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3323, allocations: 0 / 447.6 MB, free: 65.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.3323, allocations: 21.22 kB / 447.6 MB, free: 65.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.3323, allocations: 10.16 kB / 447.6 MB, free: 65.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.3346, allocations: 0.9239 MB / 448.5 MB, free: 65.04 MB / 410.7 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.002724/0.3373, allocations: 1.953 MB / 450.5 MB, free: 63.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.3386, allocations: 373.8 kB / 450.9 MB, free: 63.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.3388, allocations: 69.84 kB / 450.9 MB, free: 63.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5517/0.8905, allocations: 161.2 MB / 0.5978 GB, free: 8.711 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002037/0.8926, allocations: 480 kB / 0.5982 GB, free: 8.195 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 3.176e-06/0.8926, allocations: 0 / 0.5982 GB, free: 8.195 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.003818/0.8964, allocations: 0.838 MB / 0.599 GB, free: 7.375 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002869/0.8967, allocations: 375.6 kB / 0.5994 GB, free: 6.926 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.8969, allocations: 198.9 kB / 0.5996 GB, free: 6.727 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.897, allocations: 29.7 kB / 0.5996 GB, free: 6.691 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.8972, allocations: 192.1 kB / 0.5998 GB, free: 6.504 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.8973, allocations: 114.8 kB / 0.5999 GB, free: 6.395 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.8975, allocations: 130.1 kB / 0.6 GB, free: 6.262 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.8978, allocations: 330.8 kB / 0.6004 GB, free: 5.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.898, allocations: 84.94 kB / 0.6004 GB, free: 5.848 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/0.8985, allocations: 339.8 kB / 0.6008 GB, free: 5.391 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.8995, allocations: 485.9 kB / 0.6012 GB, free: 4.832 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.8995, allocations: 4 kB / 0.6012 GB, free: 4.828 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001243/0.9007, allocations: 486.2 kB / 0.6017 GB, free: 4.402 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.9007, allocations: 11.94 kB / 0.6017 GB, free: 4.391 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.9008, allocations: 12 kB / 0.6017 GB, free: 4.379 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.509e-05/0.9008, allocations: 12 kB / 0.6017 GB, free: 4.367 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.9013, allocations: 142.5 kB / 0.6019 GB, free: 4.238 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/0.9013, allocations: 18.66 kB / 0.6019 GB, free: 4.227 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/0.9018, allocations: 66.02 kB / 0.6019 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/0.9018, allocations: 43.67 kB / 0.602 GB, free: 4.125 MB / 474.7 MB 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.0002547/0.9021, allocations: 161.1 kB / 0.6021 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.9023, allocations: 39.7 kB / 0.6022 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/0.9063, allocations: 2.838 MB / 0.6049 GB, free: 1.117 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/0.9063, allocations: 19.97 kB / 0.605 GB, free: 1.098 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.9063, allocations: 4 kB / 0.605 GB, free: 1.094 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.9063, allocations: 7.984 kB / 0.605 GB, free: 1.086 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.9078, allocations: 0.8409 MB / 0.6058 GB, free: 232 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.9078, allocations: 8 kB / 0.6058 GB, free: 224 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.9082, allocations: 74.41 kB / 0.6059 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.9082, allocations: 8 kB / 0.6059 GB, free: 148 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.9082, allocations: 11.98 kB / 0.6059 GB, free: 136 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.9082, allocations: 7.938 kB / 0.6059 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.9082, allocations: 4 kB / 0.6059 GB, free: 124 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2333/1.142, allocations: 0.7167 MB / 0.6066 GB, free: 166 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/1.142, allocations: 57.34 kB / 0.6067 GB, free: 166 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/1.142, allocations: 108.3 kB / 0.6068 GB, free: 166 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/1.142, allocations: 19.38 kB / 0.6068 GB, free: 166 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/1.142, allocations: 35.95 kB / 0.6068 GB, free: 166 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/1.142, allocations: 14.97 kB / 0.6068 GB, free: 166 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006377/1.143, allocations: 0.5002 MB / 0.6073 GB, free: 165.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/1.143, allocations: 0 / 0.6073 GB, free: 165.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005099/1.148, allocations: 1.535 MB / 0.6088 GB, free: 165.9 MB / 474.7 MB 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.007458/1.155, allocations: 1.964 MB / 0.6107 GB, free: 165.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000966/1.156, allocations: 417.8 kB / 0.6111 GB, free: 165.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.156, allocations: 2.094 kB / 0.6111 GB, free: 165.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/1.157, allocations: 234.2 kB / 0.6114 GB, free: 165.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009736/1.158, allocations: 240.4 kB / 0.6116 GB, free: 165.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.233/2.391, allocations: 0.6026 GB / 1.214 GB, free: 149.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/2.391, allocations: 399 kB / 1.215 GB, free: 149.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00079/2.392, allocations: 0.5244 MB / 1.215 GB, free: 148.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/2.392, allocations: 59.47 kB / 1.215 GB, free: 148.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.303e-06/2.392, allocations: 0 / 1.215 GB, free: 148.9 MB / 474.7 MB Notification: Performance of Templates: time 0.05585/2.448, allocations: 56.34 MB / 1.27 GB, free: 98.34 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.827703071990982]