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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001449/0.00145, allocations: 118.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 202 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 83.86 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3895, allocations: 62.45 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01773/0.4072, allocations: 13.91 MB / 0.5446 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03536/0.4426, allocations: 26.61 MB / 0.5706 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/0.4431, allocations: 0 / 0.5706 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.4437, allocations: 95.39 kB / 0.5707 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03039/0.4741, allocations: 8.538 MB / 0.579 GB, free: 428 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.4755, allocations: 346.4 kB / 0.5794 GB, free: 84 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004884/0.4804, allocations: 2.002 MB / 0.5813 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.4805, allocations: 20.34 kB / 0.5814 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006457/0.4811, allocations: 274.8 kB / 0.5816 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007268/0.4884, allocations: 3.262 MB / 0.5848 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.869e-05/0.4885, allocations: 12 kB / 0.5848 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02878/0.5173, allocations: 10.83 MB / 0.5954 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.5176, allocations: 51.8 kB / 0.5954 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003685/0.5179, allocations: 143.3 kB / 0.5956 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01731/0.5353, allocations: 6.312 MB / 0.6017 GB, free: 9.078 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5353, allocations: 0 / 0.6017 GB, free: 9.078 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5353, allocations: 0 / 0.6017 GB, free: 9.078 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.5354, allocations: 0 / 0.6017 GB, free: 9.078 MB / 462.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.005266/0.5406, allocations: 1.564 MB / 0.6033 GB, free: 7.465 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5407, allocations: 12.03 kB / 0.6033 GB, free: 7.453 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.5426, allocations: 220.3 kB / 0.6035 GB, free: 7.238 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.5431, allocations: 287.8 kB / 0.6038 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.5431, allocations: 25.03 kB / 0.6038 GB, free: 6.895 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/0.5432, allocations: 32.12 kB / 0.6038 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.5456, allocations: 0.8172 MB / 0.6046 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.5457, allocations: 0 / 0.6046 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.5457, allocations: 20 kB / 0.6046 GB, free: 5.984 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.5458, allocations: 8 kB / 0.6046 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.5484, allocations: 0.9347 MB / 0.6056 GB, free: 5.039 MB / 462.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.003463/0.5519, allocations: 2.569 MB / 0.6081 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.5533, allocations: 378.2 kB / 0.6084 GB, free: 1.879 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.5535, allocations: 76.81 kB / 0.6085 GB, free: 1.801 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9249/1.478, allocations: 241.2 MB / 0.8441 GB, free: 72.34 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/1.48, allocations: 480.3 kB / 0.8445 GB, free: 71.83 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=32): time 3.387e-06/1.48, allocations: 0 / 0.8445 GB, free: 71.83 MB / 0.5763 GB Notification: Performance of matching and sorting (n=32): time 0.00278/1.483, allocations: 0.7812 MB / 0.8453 GB, free: 71.06 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.943e-05/1.483, allocations: 379.9 kB / 0.8457 GB, free: 70.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/1.483, allocations: 181.2 kB / 0.8458 GB, free: 70.42 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/1.483, allocations: 29.7 kB / 0.8459 GB, free: 70.39 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/1.483, allocations: 194 kB / 0.846 GB, free: 70.2 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 6.478e-05/1.483, allocations: 102.3 kB / 0.8461 GB, free: 70.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/1.483, allocations: 126.1 kB / 0.8463 GB, free: 69.97 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.782e-05/1.483, allocations: 332.9 kB / 0.8466 GB, free: 69.64 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/1.484, allocations: 85.06 kB / 0.8467 GB, free: 69.55 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/1.484, allocations: 348.5 kB / 0.847 GB, free: 69.09 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/1.484, allocations: 474.6 kB / 0.8474 GB, free: 68.5 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/1.484, allocations: 4 kB / 0.8474 GB, free: 68.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000801/1.485, allocations: 473.2 kB / 0.8479 GB, free: 68.04 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.485, allocations: 11.98 kB / 0.8479 GB, free: 68.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.485, allocations: 8 kB / 0.8479 GB, free: 68.02 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/1.485, allocations: 15.94 kB / 0.8479 GB, free: 68 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/1.486, allocations: 143.7 kB / 0.8481 GB, free: 67.86 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/1.486, allocations: 19.92 kB / 0.8481 GB, free: 67.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/1.486, allocations: 47.53 kB / 0.8481 GB, free: 67.79 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/1.486, allocations: 47.97 kB / 0.8482 GB, free: 67.75 MB / 0.5763 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.0001579/1.486, allocations: 157.8 kB / 0.8483 GB, free: 67.58 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/1.486, allocations: 23.81 kB / 0.8483 GB, free: 67.56 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/1.489, allocations: 2.6 MB / 0.8509 GB, free: 64.96 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/1.489, allocations: 19.97 kB / 0.8509 GB, free: 64.94 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/1.489, allocations: 4 kB / 0.8509 GB, free: 64.93 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/1.489, allocations: 4 kB / 0.8509 GB, free: 64.93 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/1.49, allocations: 0.9251 MB / 0.8518 GB, free: 63.96 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.49, allocations: 8 kB / 0.8518 GB, free: 63.96 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/1.49, allocations: 71.88 kB / 0.8519 GB, free: 63.89 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.49, allocations: 8 kB / 0.8519 GB, free: 63.88 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/1.49, allocations: 15.92 kB / 0.8519 GB, free: 63.86 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/1.49, allocations: 11.88 kB / 0.8519 GB, free: 63.85 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.49, allocations: 4 kB / 0.8519 GB, free: 63.85 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008335/1.491, allocations: 0.7011 MB / 0.8526 GB, free: 63.1 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/1.491, allocations: 124.5 kB / 0.8527 GB, free: 62.96 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/1.491, allocations: 110.4 kB / 0.8528 GB, free: 62.85 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/1.491, allocations: 16.61 kB / 0.8529 GB, free: 62.83 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/1.491, allocations: 39.89 kB / 0.8529 GB, free: 62.79 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/1.491, allocations: 16 kB / 0.8529 GB, free: 62.78 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004933/1.492, allocations: 0.5001 MB / 0.8534 GB, free: 62.27 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/1.492, allocations: 0 / 0.8534 GB, free: 62.27 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004688/1.496, allocations: 1.509 MB / 0.8549 GB, free: 60.84 MB / 0.5763 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.006741/1.503, allocations: 1.725 MB / 0.8566 GB, free: 59.27 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001008/1.504, allocations: 427.5 kB / 0.857 GB, free: 58.86 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.504, allocations: 0 / 0.857 GB, free: 58.86 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003167/1.505, allocations: 278.1 kB / 0.8572 GB, free: 58.59 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008847/1.506, allocations: 124.9 kB / 0.8573 GB, free: 58.46 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.811/3.316, allocations: 0.6022 GB / 1.46 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/3.317, allocations: 0.9855 MB / 1.461 GB, free: 206.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006841/3.318, allocations: 0.5269 MB / 1.461 GB, free: 205.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/3.318, allocations: 59.41 kB / 1.461 GB, free: 205.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.072e-06/3.318, allocations: 0 / 1.461 GB, free: 205.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.05687/3.375, allocations: 55.79 MB / 1.516 GB, free: 149.9 MB / 0.6231 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/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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches