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.001584/0.001584, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002243/0.002243, allocations: 211 kB / 23.73 MB, free: 4.387 MB / 14.72 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.599/1.599, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 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.2244/0.2244, allocations: 44.95 MB / 358.8 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 72.16 kB / 0.4936 GB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3851, allocations: 65.48 MB / 0.5575 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01887/0.4039, allocations: 12.71 MB / 0.5699 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03175/0.4357, allocations: 23.37 MB / 0.5927 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.4359, allocations: 4 kB / 0.5928 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.4364, allocations: 91.41 kB / 0.5928 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02626/0.4626, allocations: 8.499 MB / 0.6011 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.4637, allocations: 342.5 kB / 0.6015 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004713/0.4684, allocations: 2.01 MB / 0.6034 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.4685, allocations: 16.53 kB / 0.6034 GB, free: 8.125 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007042/0.4692, allocations: 262.8 kB / 0.6037 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007045/0.4763, allocations: 3.274 MB / 0.6069 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.4764, allocations: 11.98 kB / 0.6069 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02456/0.501, allocations: 10.33 MB / 0.617 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.5011, allocations: 51.75 kB / 0.617 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.5014, allocations: 127.5 kB / 0.6172 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02102/0.5225, allocations: 6.329 MB / 0.6233 GB, free: 3.664 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5225, allocations: 0 / 0.6233 GB, free: 3.664 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5225, allocations: 0 / 0.6233 GB, free: 3.664 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.5225, allocations: 0 / 0.6233 GB, free: 3.664 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.006107/0.5286, allocations: 1.517 MB / 0.6248 GB, free: 2.109 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.5286, allocations: 12.03 kB / 0.6248 GB, free: 2.098 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.5305, allocations: 220.5 kB / 0.625 GB, free: 1.883 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.5312, allocations: 222.1 kB / 0.6253 GB, free: 1.641 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/0.5312, allocations: 29.03 kB / 0.6253 GB, free: 1.613 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.5313, allocations: 32.12 kB / 0.6253 GB, free: 1.582 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/0.5341, allocations: 0.8714 MB / 0.6262 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.5341, allocations: 3.938 kB / 0.6262 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/0.5342, allocations: 16 kB / 0.6262 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.5342, allocations: 15.98 kB / 0.6262 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/0.537, allocations: 0.9234 MB / 0.6271 GB, free: 15.7 MB / 478.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.003746/0.5407, allocations: 1.956 MB / 0.629 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.5423, allocations: 370.3 kB / 0.6294 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.5425, allocations: 68.81 kB / 0.6294 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9714/1.514, allocations: 161 MB / 0.7867 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/1.515, allocations: 471.2 kB / 0.7871 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 4.85e-06/1.515, allocations: 0 / 0.7871 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.00295/1.518, allocations: 0.7837 MB / 0.7879 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.518, allocations: 371.8 kB / 0.7883 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/1.519, allocations: 193 kB / 0.7885 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/1.519, allocations: 37.7 kB / 0.7885 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/1.519, allocations: 188.1 kB / 0.7887 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.572e-05/1.519, allocations: 119.2 kB / 0.7888 GB, free: 125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.519, allocations: 130 kB / 0.7889 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.359e-05/1.519, allocations: 326.8 kB / 0.7892 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/1.519, allocations: 92.77 kB / 0.7893 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/1.52, allocations: 340.1 kB / 0.7896 GB, free: 124 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/1.52, allocations: 483 kB / 0.7901 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/1.52, allocations: 4 kB / 0.7901 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000876/1.521, allocations: 468.4 kB / 0.7905 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.521, allocations: 8 kB / 0.7905 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.521, allocations: 12 kB / 0.7906 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/1.521, allocations: 15.94 kB / 0.7906 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/1.521, allocations: 140.5 kB / 0.7907 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/1.522, allocations: 23.92 kB / 0.7907 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/1.522, allocations: 49.23 kB / 0.7908 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/1.522, allocations: 47.97 kB / 0.7908 GB, free: 122.6 MB / 0.5606 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.0001602/1.522, allocations: 162.4 kB / 0.791 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/1.522, allocations: 27.86 kB / 0.791 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/1.525, allocations: 2.836 MB / 0.7938 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/1.525, allocations: 15.98 kB / 0.7938 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.525, allocations: 6.938 kB / 0.7938 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/1.525, allocations: 8.359 kB / 0.7938 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000886/1.525, allocations: 0.8521 MB / 0.7946 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/1.525, allocations: 4 kB / 0.7946 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/1.526, allocations: 79.8 kB / 0.7947 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/1.526, allocations: 4 kB / 0.7947 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/1.526, allocations: 8 kB / 0.7947 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.526, allocations: 8 kB / 0.7947 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.526, allocations: 0 / 0.7947 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/1.527, allocations: 0.732 MB / 0.7954 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/1.527, allocations: 47.58 kB / 0.7955 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/1.527, allocations: 107 kB / 0.7956 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/1.527, allocations: 16 kB / 0.7956 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/1.527, allocations: 43.81 kB / 0.7957 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/1.527, allocations: 12 kB / 0.7957 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005301/1.528, allocations: 0.5001 MB / 0.7962 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.528, allocations: 0 / 0.7962 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004754/1.533, allocations: 1.524 MB / 0.7976 GB, free: 115.7 MB / 0.5606 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.00856/1.541, allocations: 1.759 MB / 0.7994 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009837/1.542, allocations: 412.5 kB / 0.7998 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.542, allocations: 5.25 kB / 0.7998 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003567/1.543, allocations: 233.2 kB / 0.8 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/1.544, allocations: 135.7 kB / 0.8001 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.34/2.883, allocations: 0.6026 GB / 1.403 GB, free: 41.42 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/2.884, allocations: 396.3 kB / 1.403 GB, free: 41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006643/2.884, allocations: 0.5227 MB / 1.404 GB, free: 40.49 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/2.884, allocations: 55.41 kB / 1.404 GB, free: 40.44 MB / 0.6231 GB Notification: Performance of SimCode: time 1.092e-06/2.884, allocations: 0 / 1.404 GB, free: 40.44 MB / 0.6231 GB Notification: Performance of Templates: time 0.304/3.188, allocations: 56.88 MB / 1.459 GB, free: 220.7 MB / 0.6231 GB " [Timeout remaining time 657] 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: 12.535224037244916]