Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001879/0.001879, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009215/0.0009214, allocations: 106.2 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3352/0.3352, allocations: 44.84 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3399, allocations: 62.01 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01459/0.3546, allocations: 14.7 MB / 0.5295 GB, free: 27.78 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02557/0.3802, allocations: 28.32 MB / 0.5572 GB, free: 8.098 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.3804, allocations: 1.719 kB / 0.5572 GB, free: 8.098 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.3808, allocations: 83.69 kB / 0.5572 GB, free: 8.059 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02574/0.4066, allocations: 6.837 MB / 0.5639 GB, free: 4.023 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.4078, allocations: 316.3 kB / 0.5642 GB, free: 3.812 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005392/0.4132, allocations: 2.034 MB / 0.5662 GB, free: 2.574 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.4133, allocations: 24.14 kB / 0.5662 GB, free: 2.566 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007451/0.4141, allocations: 265.6 kB / 0.5665 GB, free: 2.418 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008048/0.4222, allocations: 3.273 MB / 0.5697 GB, free: 396 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.206e-05/0.4223, allocations: 8.125 kB / 0.5697 GB, free: 396 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0245/0.4468, allocations: 10.73 MB / 0.5802 GB, free: 6.875 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.447, allocations: 51.7 kB / 0.5802 GB, free: 6.824 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003569/0.4473, allocations: 139.3 kB / 0.5804 GB, free: 6.688 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02111/0.4685, allocations: 6.355 MB / 0.5866 GB, free: 328 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4685, allocations: 0 / 0.5866 GB, free: 328 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4685, allocations: 3.938 kB / 0.5866 GB, free: 324 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.4686, allocations: 3.938 kB / 0.5866 GB, free: 320 kB / 394.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.004884/0.4734, allocations: 1.572 MB / 0.5881 GB, free: 14.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4735, allocations: 8.031 kB / 0.5881 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.4752, allocations: 216.4 kB / 0.5883 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.4756, allocations: 276 kB / 0.5886 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.4757, allocations: 25.03 kB / 0.5886 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.4757, allocations: 32.12 kB / 0.5886 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.478, allocations: 0.8172 MB / 0.5894 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.478, allocations: 7.938 kB / 0.5894 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.478, allocations: 16 kB / 0.5895 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.4781, allocations: 8 kB / 0.5895 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/0.4805, allocations: 0.9309 MB / 0.5904 GB, free: 12.29 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.003332/0.4838, allocations: 2.573 MB / 0.5929 GB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.4851, allocations: 387.8 kB / 0.5933 GB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.4853, allocations: 80.86 kB / 0.5933 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8326/1.318, allocations: 238.7 MB / 0.8264 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/1.319, allocations: 475.1 kB / 0.8269 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/1.319, allocations: 0 / 0.8269 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.002635/1.322, allocations: 0.7777 MB / 0.8277 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/1.322, allocations: 379.8 kB / 0.828 GB, free: 24.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/1.322, allocations: 182.6 kB / 0.8282 GB, free: 24.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/1.322, allocations: 33.7 kB / 0.8282 GB, free: 24.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/1.322, allocations: 175.7 kB / 0.8284 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/1.322, allocations: 114.1 kB / 0.8285 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/1.323, allocations: 130 kB / 0.8286 GB, free: 24.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.564e-05/1.323, allocations: 328 kB / 0.8289 GB, free: 23.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/1.323, allocations: 93.05 kB / 0.829 GB, free: 23.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/1.323, allocations: 336.7 kB / 0.8293 GB, free: 23.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/1.324, allocations: 482.4 kB / 0.8298 GB, free: 22.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.324, allocations: 4 kB / 0.8298 GB, free: 22.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000787/1.324, allocations: 481.3 kB / 0.8303 GB, free: 22.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.325, allocations: 8 kB / 0.8303 GB, free: 22.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.325, allocations: 12 kB / 0.8303 GB, free: 22.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.325, allocations: 12 kB / 0.8303 GB, free: 22.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/1.325, allocations: 139.8 kB / 0.8304 GB, free: 21.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.325, allocations: 19.92 kB / 0.8305 GB, free: 21.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/1.325, allocations: 47.53 kB / 0.8305 GB, free: 21.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/1.325, allocations: 43.97 kB / 0.8305 GB, free: 21.86 MB / 0.4948 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.0001347/1.325, allocations: 166.6 kB / 0.8307 GB, free: 21.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/1.326, allocations: 27.75 kB / 0.8307 GB, free: 21.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/1.328, allocations: 2.613 MB / 0.8333 GB, free: 19.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/1.328, allocations: 15.98 kB / 0.8333 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.328, allocations: 4 kB / 0.8333 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/1.328, allocations: 7.984 kB / 0.8333 GB, free: 19.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/1.328, allocations: 0.9319 MB / 0.8342 GB, free: 18.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.328, allocations: 3.938 kB / 0.8342 GB, free: 18.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/1.329, allocations: 72.25 kB / 0.8343 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.329, allocations: 8 kB / 0.8343 GB, free: 17.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/1.329, allocations: 11.98 kB / 0.8343 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/1.329, allocations: 8 kB / 0.8343 GB, free: 17.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.329, allocations: 7.938 kB / 0.8343 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/1.33, allocations: 1.699 MB / 0.836 GB, free: 16.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/1.33, allocations: 128.4 kB / 0.8361 GB, free: 16.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-05/1.331, allocations: 102.6 kB / 0.8362 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/1.331, allocations: 20.45 kB / 0.8362 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/1.331, allocations: 39.84 kB / 0.8363 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/1.331, allocations: 16 kB / 0.8363 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004808/1.331, allocations: 0.5001 MB / 0.8368 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.331, allocations: 0 / 0.8368 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004882/1.336, allocations: 1.547 MB / 0.8383 GB, free: 13.83 MB / 0.4948 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.006981/1.343, allocations: 1.738 MB / 0.84 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007678/1.344, allocations: 408.7 kB / 0.8404 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.344, allocations: 3.938 kB / 0.8404 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/1.344, allocations: 278.1 kB / 0.8406 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008204/1.345, allocations: 140.9 kB / 0.8408 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.45/2.795, allocations: 0.603 GB / 1.444 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/2.795, allocations: 1.005 MB / 1.445 GB, free: 29.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007311/2.796, allocations: 0.5266 MB / 1.445 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/2.796, allocations: 59.41 kB / 1.445 GB, free: 29.1 MB / 0.5261 GB Notification: Performance of SimCode: time 8.51e-07/2.796, allocations: 4 kB / 1.445 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.2901/3.086, allocations: 55.86 MB / 1.5 GB, free: 165.7 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches