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.001905/0.001905, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001705/0.001705, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.555/1.555, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2221/0.2221, allocations: 44.92 MB / 359.6 MB, free: 6.281 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.002293/0.002293, allocations: 67.89 kB / 0.4944 GB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.34, allocations: 65.47 MB / 0.5583 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01772/0.3577, allocations: 14.05 MB / 0.572 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03334/0.3911, allocations: 26.77 MB / 0.5982 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.3913, allocations: 4 kB / 0.5982 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000445/0.3918, allocations: 103.4 kB / 0.5983 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02606/0.4179, allocations: 8.55 MB / 0.6066 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.4189, allocations: 350.5 kB / 0.6069 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0047/0.4236, allocations: 2.013 MB / 0.6089 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.4238, allocations: 20.52 kB / 0.6089 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007287/0.4245, allocations: 282.8 kB / 0.6092 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007309/0.4318, allocations: 3.274 MB / 0.6124 GB, free: 48 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.022e-05/0.4319, allocations: 12 kB / 0.6124 GB, free: 36 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02511/0.457, allocations: 10.86 MB / 0.623 GB, free: 5.156 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.4571, allocations: 55.75 kB / 0.6231 GB, free: 5.102 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.4574, allocations: 135.3 kB / 0.6232 GB, free: 4.969 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01723/0.4746, allocations: 6.337 MB / 0.6294 GB, free: 14.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.4747, allocations: 4 kB / 0.6294 GB, free: 14.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4747, allocations: 0 / 0.6294 GB, free: 14.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.4747, allocations: 0 / 0.6294 GB, free: 14.61 MB / 478.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.005102/0.4798, allocations: 1.529 MB / 0.6309 GB, free: 13.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4798, allocations: 11.97 kB / 0.6309 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.4816, allocations: 228.5 kB / 0.6311 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.4822, allocations: 218.1 kB / 0.6313 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.4822, allocations: 29.03 kB / 0.6314 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/0.4823, allocations: 36.12 kB / 0.6314 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.4848, allocations: 0.8212 MB / 0.6322 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.4848, allocations: 3.938 kB / 0.6322 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.4849, allocations: 12 kB / 0.6322 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4849, allocations: 8 kB / 0.6322 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.4875, allocations: 0.943 MB / 0.6331 GB, free: 10.68 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.0035/0.491, allocations: 2.296 MB / 0.6354 GB, free: 8.238 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.4924, allocations: 374.3 kB / 0.6357 GB, free: 7.863 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.4926, allocations: 68.81 kB / 0.6358 GB, free: 7.793 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9253/1.418, allocations: 160.4 MB / 0.7924 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/1.419, allocations: 483.5 kB / 0.7929 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.115e-06/1.419, allocations: 0 / 0.7929 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002898/1.422, allocations: 0.778 MB / 0.7937 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/1.422, allocations: 379.8 kB / 0.794 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/1.422, allocations: 178.6 kB / 0.7942 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/1.422, allocations: 33.7 kB / 0.7942 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/1.422, allocations: 195.6 kB / 0.7944 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/1.423, allocations: 115.5 kB / 0.7945 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/1.423, allocations: 122.1 kB / 0.7946 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.981e-05/1.423, allocations: 338.6 kB / 0.795 GB, free: 120 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/1.423, allocations: 84.94 kB / 0.795 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/1.423, allocations: 340.1 kB / 0.7954 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/1.424, allocations: 474.6 kB / 0.7958 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.424, allocations: 4.75 kB / 0.7958 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007857/1.424, allocations: 475.2 kB / 0.7963 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.425, allocations: 15.98 kB / 0.7963 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.425, allocations: 8 kB / 0.7963 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.425, allocations: 12 kB / 0.7963 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/1.425, allocations: 135.8 kB / 0.7964 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/1.425, allocations: 22.97 kB / 0.7965 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/1.425, allocations: 54.06 kB / 0.7965 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/1.425, allocations: 47.81 kB / 0.7966 GB, free: 118.1 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.0001368/1.425, allocations: 170.3 kB / 0.7967 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/1.426, allocations: 27.86 kB / 0.7967 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/1.428, allocations: 2.749 MB / 0.7994 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/1.428, allocations: 19.97 kB / 0.7994 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.428, allocations: 4 kB / 0.7994 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.428, allocations: 4.375 kB / 0.7995 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006879/1.428, allocations: 0.9465 MB / 0.8004 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.428, allocations: 4 kB / 0.8004 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/1.429, allocations: 71.88 kB / 0.8004 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/1.429, allocations: 4 kB / 0.8005 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/1.429, allocations: 11.98 kB / 0.8005 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.429, allocations: 8 kB / 0.8005 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.429, allocations: 3.938 kB / 0.8005 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/1.429, allocations: 0.7243 MB / 0.8012 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/1.429, allocations: 47.58 kB / 0.8012 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/1.43, allocations: 111 kB / 0.8013 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/1.43, allocations: 15.98 kB / 0.8013 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/1.43, allocations: 35.89 kB / 0.8014 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/1.43, allocations: 20.86 kB / 0.8014 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004461/1.43, allocations: 0.4962 MB / 0.8019 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.43, allocations: 0 / 0.8019 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003687/1.434, allocations: 1.532 MB / 0.8034 GB, free: 111.1 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.005941/1.44, allocations: 1.743 MB / 0.8051 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000795/1.441, allocations: 419.4 kB / 0.8055 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.441, allocations: 4 kB / 0.8055 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/1.441, allocations: 226 kB / 0.8057 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008867/1.442, allocations: 139.9 kB / 0.8058 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.271/2.713, allocations: 0.6027 GB / 1.408 GB, free: 37.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/2.713, allocations: 0.9856 MB / 1.409 GB, free: 36.76 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/2.713, allocations: 63.34 kB / 1.41 GB, free: 36.7 MB / 0.6231 GB Notification: Performance of SimCode: time 9.92e-07/2.713, allocations: 0 / 1.41 GB, free: 36.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.03868/2.752, allocations: 33.03 MB / 1.442 GB, free: 3.695 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/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: 13.308788037858903]