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.00173/0.00173, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000827/0.000827, allocations: 97.08 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1768/0.1768, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.579e-05/2.581e-05, allocations: 4 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08575/0.08579, allocations: 63.24 MB / 0.5114 GB, free: 6.793 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.907/5.992, allocations: 2.758 GB / 3.27 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/5.993, allocations: 83.31 kB / 3.27 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7302/6.723, allocations: 217.4 MB / 3.482 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.864e-06/6.723, allocations: 0 / 3.482 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.179e-05/6.723, allocations: 3.969 kB / 3.482 GB, free: 106.4 MB / 0.5417 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.006201/6.729, allocations: 1.758 MB / 3.484 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/6.729, allocations: 14.19 kB / 3.484 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/6.731, allocations: 223.6 kB / 3.484 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/6.731, allocations: 285.2 kB / 3.484 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/6.731, allocations: 25.5 kB / 3.484 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/6.731, allocations: 28.81 kB / 3.484 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/6.733, allocations: 0.8568 MB / 3.485 GB, free: 105 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/6.733, allocations: 0 / 3.485 GB, free: 105 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/6.733, allocations: 21.52 kB / 3.485 GB, free: 105 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/6.733, allocations: 7.781 kB / 3.485 GB, free: 105 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/6.735, allocations: 0.9585 MB / 3.486 GB, free: 105 MB / 0.5417 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.003008/6.738, allocations: 2.809 MB / 3.489 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/6.739, allocations: 413.3 kB / 3.489 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/6.739, allocations: 74.64 kB / 3.489 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7236/7.463, allocations: 238.6 MB / 3.722 GB, free: 52.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001226/7.464, allocations: 0.5081 MB / 3.723 GB, free: 52.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 2.935e-06/7.464, allocations: 0 / 3.723 GB, free: 52.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.002551/7.466, allocations: 0.796 MB / 3.724 GB, free: 52.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/7.466, allocations: 379.6 kB / 3.724 GB, free: 51.75 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/7.467, allocations: 163.9 kB / 3.724 GB, free: 51.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/7.467, allocations: 32.95 kB / 3.724 GB, free: 51.63 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/7.467, allocations: 179.2 kB / 3.724 GB, free: 51.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/7.467, allocations: 120 kB / 3.724 GB, free: 51.45 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/7.467, allocations: 5 kB / 3.724 GB, free: 51.45 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.351e-05/7.467, allocations: 339.9 kB / 3.725 GB, free: 51.12 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/7.467, allocations: 72.62 kB / 3.725 GB, free: 51.12 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/7.467, allocations: 333.1 kB / 3.725 GB, free: 50.79 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/7.467, allocations: 118.2 kB / 3.725 GB, free: 50.78 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/7.467, allocations: 6.125 kB / 3.725 GB, free: 50.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006478/7.468, allocations: 444 kB / 3.726 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/7.468, allocations: 7 kB / 3.726 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/7.468, allocations: 10.5 kB / 3.726 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/7.468, allocations: 16.94 kB / 3.726 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/7.468, allocations: 138.9 kB / 3.726 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/7.469, allocations: 19.53 kB / 3.726 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/7.469, allocations: 52.56 kB / 3.726 GB, free: 50.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/7.469, allocations: 41.78 kB / 3.726 GB, free: 50.71 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.0001/7.469, allocations: 146.8 kB / 3.726 GB, free: 50.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/7.469, allocations: 24.78 kB / 3.726 GB, free: 50.59 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/7.47, allocations: 1.766 MB / 3.728 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/7.47, allocations: 19.61 kB / 3.728 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/7.47, allocations: 3.969 kB / 3.728 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/7.47, allocations: 3.656 kB / 3.728 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008292/7.471, allocations: 0.9005 MB / 3.729 GB, free: 50.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/7.471, allocations: 2.906 kB / 3.729 GB, free: 50.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/7.472, allocations: 79.48 kB / 3.729 GB, free: 50.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/7.472, allocations: 10.03 kB / 3.729 GB, free: 50.06 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/7.472, allocations: 21.12 kB / 3.729 GB, free: 50.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/7.472, allocations: 11.84 kB / 3.729 GB, free: 50.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/7.472, allocations: 3.75 kB / 3.729 GB, free: 50.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/7.472, allocations: 0.8273 MB / 3.73 GB, free: 49.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/7.473, allocations: 329.9 kB / 3.73 GB, free: 49.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/7.473, allocations: 11.72 kB / 3.73 GB, free: 49.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/7.473, allocations: 28.88 kB / 3.73 GB, free: 49.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/7.473, allocations: 48.53 kB / 3.73 GB, free: 49.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/7.473, allocations: 27.19 kB / 3.73 GB, free: 49.42 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003598/7.474, allocations: 421.8 kB / 3.73 GB, free: 49.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.31e-07/7.474, allocations: 0 / 3.73 GB, free: 49.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006224/7.48, allocations: 1.525 MB / 3.732 GB, free: 48.62 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.009597/7.489, allocations: 1.906 MB / 3.734 GB, free: 47.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006257/7.49, allocations: 396.3 kB / 3.734 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/7.49, allocations: 0 / 3.734 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/7.49, allocations: 283.7 kB / 3.734 GB, free: 46.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007144/7.491, allocations: 115.5 kB / 3.735 GB, free: 46.64 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.836/9.328, allocations: 0.7584 GB / 4.493 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/9.328, allocations: 0.9674 MB / 4.494 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001221/9.329, allocations: 1.065 MB / 4.495 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/9.329, allocations: 65.41 kB / 4.495 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of SimCode: time 9.02e-07/9.329, allocations: 0 / 4.495 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.04052/9.37, allocations: 37.99 MB / 4.532 GB, free: 102.5 MB / 0.5573 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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches