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.000805/0.000805, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009085/0.0009084, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.125/1.125, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1584/0.1584, allocations: 46.19 MB / 345.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001954/0.0001954, allocations: 11.94 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08431/0.08452, allocations: 63.57 MB / 483.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01301/0.09756, allocations: 14.22 MB / 497.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1729/0.2705, allocations: 27.83 MB / 0.5128 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.2707, allocations: 4.094 kB / 0.5128 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.271, allocations: 88.81 kB / 0.5129 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01592/0.2869, allocations: 6.844 MB / 0.5196 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006649/0.2876, allocations: 314.5 kB / 0.5199 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003145/0.2907, allocations: 2.039 MB / 0.5219 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.2908, allocations: 15.03 kB / 0.5219 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/0.2912, allocations: 263 kB / 0.5221 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004735/0.2959, allocations: 3.273 MB / 0.5253 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.296, allocations: 6.938 kB / 0.5254 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01705/0.313, allocations: 10.74 MB / 0.5358 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.3131, allocations: 49.05 kB / 0.5359 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.3133, allocations: 164.6 kB / 0.536 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008907/0.3222, allocations: 6.324 MB / 0.5422 GB, free: 3.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3222, allocations: 4 kB / 0.5422 GB, free: 3.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3222, allocations: 0 / 0.5422 GB, free: 3.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.3222, allocations: 0 / 0.5422 GB, free: 3.352 MB / 382.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.003166/0.3254, allocations: 1.496 MB / 0.5437 GB, free: 2.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.3254, allocations: 11.66 kB / 0.5437 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.3269, allocations: 226.8 kB / 0.5439 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3271, allocations: 279.7 kB / 0.5442 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.3271, allocations: 30.45 kB / 0.5442 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.3272, allocations: 34.41 kB / 0.5442 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.329, allocations: 0.8353 MB / 0.5451 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.329, allocations: 0 / 0.5451 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.3291, allocations: 12 kB / 0.5451 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3291, allocations: 9.219 kB / 0.5451 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.331, allocations: 0.9504 MB / 0.546 GB, free: 108 kB / 382.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.002685/0.3337, allocations: 2.579 MB / 0.5485 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.3349, allocations: 386.2 kB / 0.5489 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3351, allocations: 76.83 kB / 0.549 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6607/0.9958, allocations: 240.9 MB / 0.7842 GB, free: 118.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.997, allocations: 483.1 kB / 0.7846 GB, free: 118.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.997, allocations: 0 / 0.7846 GB, free: 118.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.00248/0.9995, allocations: 0.7766 MB / 0.7854 GB, free: 117.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.9996, allocations: 377 kB / 0.7858 GB, free: 117.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.9997, allocations: 187 kB / 0.7859 GB, free: 117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.9997, allocations: 32.52 kB / 0.786 GB, free: 116.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.9998, allocations: 181.4 kB / 0.7861 GB, free: 116.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.221e-05/0.9999, allocations: 116.2 kB / 0.7863 GB, free: 116.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.9999, allocations: 48.39 kB / 0.7863 GB, free: 116.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.058e-05/1, allocations: 337.6 kB / 0.7866 GB, free: 116.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/1, allocations: 79.12 kB / 0.7867 GB, free: 116.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/1, allocations: 347.4 kB / 0.787 GB, free: 115.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/1.001, allocations: 481.2 kB / 0.7875 GB, free: 115.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.001, allocations: 3.984 kB / 0.7875 GB, free: 115.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006597/1.001, allocations: 476.5 kB / 0.7879 GB, free: 115 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.001, allocations: 8 kB / 0.788 GB, free: 115 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.002, allocations: 8 kB / 0.788 GB, free: 115 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.002, allocations: 12 kB / 0.788 GB, free: 115 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/1.002, allocations: 144 kB / 0.7881 GB, free: 114.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.002, allocations: 20.28 kB / 0.7881 GB, free: 114.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/1.002, allocations: 60.47 kB / 0.7882 GB, free: 114.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/1.002, allocations: 42.3 kB / 0.7882 GB, free: 114.8 MB / 0.545 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.0001134/1.002, allocations: 163.7 kB / 0.7884 GB, free: 114.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/1.002, allocations: 23.81 kB / 0.7884 GB, free: 114.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/1.004, allocations: 2.608 MB / 0.791 GB, free: 112.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/1.004, allocations: 22.25 kB / 0.791 GB, free: 112.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.004, allocations: 4.562 kB / 0.791 GB, free: 112.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.004, allocations: 4.312 kB / 0.791 GB, free: 112.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/1.005, allocations: 0.935 MB / 0.7919 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/1.005, allocations: 4 kB / 0.7919 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/1.005, allocations: 74.7 kB / 0.792 GB, free: 112 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.005, allocations: 4 kB / 0.792 GB, free: 112 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/1.005, allocations: 15.34 kB / 0.792 GB, free: 112 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/1.005, allocations: 4.75 kB / 0.792 GB, free: 112 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.005, allocations: 4 kB / 0.792 GB, free: 112 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/1.006, allocations: 0.7019 MB / 0.7927 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/1.006, allocations: 387.1 kB / 0.7931 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/1.006, allocations: 10.81 kB / 0.7931 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/1.006, allocations: 19.73 kB / 0.7931 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/1.006, allocations: 34.59 kB / 0.7931 GB, free: 111 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/1.006, allocations: 22.2 kB / 0.7931 GB, free: 111 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004002/1.007, allocations: 0.4994 MB / 0.7936 GB, free: 110.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.007, allocations: 2.625 kB / 0.7936 GB, free: 110.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003081/1.01, allocations: 1.513 MB / 0.7951 GB, free: 109.3 MB / 0.545 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.004466/1.014, allocations: 1.725 MB / 0.7968 GB, free: 107.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005075/1.015, allocations: 411.7 kB / 0.7972 GB, free: 107.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.015, allocations: 5.812 kB / 0.7972 GB, free: 107.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/1.015, allocations: 269.6 kB / 0.7974 GB, free: 107.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009781/1.016, allocations: 143 kB / 0.7976 GB, free: 107.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.073/2.089, allocations: 0.6018 GB / 1.399 GB, free: 122.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/2.089, allocations: 0.9856 MB / 1.4 GB, free: 121.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006232/2.09, allocations: 0.5217 MB / 1.401 GB, free: 120.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/2.09, allocations: 59.41 kB / 1.401 GB, free: 120.6 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/2.09, allocations: 0 / 1.401 GB, free: 120.6 MB / 0.545 GB Notification: Performance of Templates: time 0.04675/2.137, allocations: 55.56 MB / 1.455 GB, free: 65.12 MB / 0.545 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