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.001263/0.001263, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001429/0.001429, allocations: 165.7 kB / 23.95 MB, free: 4.156 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.427/1.427, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.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.2037/0.2037, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 440.1 MB, free: 8.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.718e-05, allocations: 2.281 kB / 440.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.1967/0.1967, allocations: 12.69 MB / 452.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02325/0.22, allocations: 23.37 MB / 476.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.2202, allocations: 1.25 kB / 476.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.2206, allocations: 88.12 kB / 476.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02713/0.2477, allocations: 8.637 MB / 484.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009862/0.2487, allocations: 352.9 kB / 485.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004693/0.2534, allocations: 2.042 MB / 487.3 MB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.108e-05/0.2534, allocations: 10.38 kB / 487.3 MB, free: 9.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.254, allocations: 315.4 kB / 487.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007292/0.2613, allocations: 3.256 MB / 490.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.656e-05/0.2613, allocations: 11.06 kB / 490.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02209/0.2834, allocations: 10.35 MB / 0.4895 GB, free: 13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2835, allocations: 51.75 kB / 0.4896 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.2838, allocations: 103.8 kB / 0.4897 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0199/0.3037, allocations: 8.026 MB / 0.4975 GB, free: 4.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3037, allocations: 0 / 0.4975 GB, free: 4.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3037, allocations: 0 / 0.4975 GB, free: 4.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.3037, allocations: 0 / 0.4975 GB, free: 4.809 MB / 398.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.005836/0.3095, allocations: 1.525 MB / 0.499 GB, free: 3.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3096, allocations: 8.031 kB / 0.499 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.3115, allocations: 216.5 kB / 0.4992 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.3119, allocations: 225.3 kB / 0.4994 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.3119, allocations: 25.03 kB / 0.4994 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.312, allocations: 28.38 kB / 0.4995 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.3145, allocations: 0.8761 MB / 0.5003 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3145, allocations: 4 kB / 0.5003 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/0.3146, allocations: 23.88 kB / 0.5003 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3146, allocations: 11.98 kB / 0.5004 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/0.3172, allocations: 0.9156 MB / 0.5013 GB, free: 0.8398 MB / 398.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.003106/0.3203, allocations: 1.944 MB / 0.5031 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.3218, allocations: 374 kB / 0.5035 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.3219, allocations: 72.81 kB / 0.5036 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.802/1.124, allocations: 161 MB / 0.6608 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/1.125, allocations: 476.2 kB / 0.6612 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.524e-06/1.125, allocations: 4 kB / 0.6612 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.002997/1.128, allocations: 0.7823 MB / 0.662 GB, free: 186.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/1.129, allocations: 374.1 kB / 0.6624 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/1.129, allocations: 197.5 kB / 0.6626 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/1.129, allocations: 31.92 kB / 0.6626 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/1.129, allocations: 197.6 kB / 0.6628 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.645e-05/1.129, allocations: 115.8 kB / 0.6629 GB, free: 186 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/1.129, allocations: 125.6 kB / 0.663 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.488e-05/1.129, allocations: 326.6 kB / 0.6633 GB, free: 185.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/1.129, allocations: 78.28 kB / 0.6634 GB, free: 185.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/1.13, allocations: 347.9 kB / 0.6637 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/1.13, allocations: 481.9 kB / 0.6642 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.13, allocations: 3.219 kB / 0.6642 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008201/1.131, allocations: 467.6 kB / 0.6646 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.131, allocations: 11.75 kB / 0.6646 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.131, allocations: 14.89 kB / 0.6647 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/1.131, allocations: 12 kB / 0.6647 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/1.131, allocations: 142 kB / 0.6648 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/1.131, allocations: 21.17 kB / 0.6648 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/1.132, allocations: 52.67 kB / 0.6649 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/1.132, allocations: 43.98 kB / 0.6649 GB, free: 184 MB / 0.5294 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.0001391/1.132, allocations: 161.2 kB / 0.6651 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.302e-05/1.132, allocations: 28.42 kB / 0.6651 GB, free: 183.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/1.134, allocations: 2.842 MB / 0.6679 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/1.134, allocations: 19.98 kB / 0.6679 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.134, allocations: 4 kB / 0.6679 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.134, allocations: 9.406 kB / 0.6679 GB, free: 181 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/1.135, allocations: 0.8457 MB / 0.6687 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/1.135, allocations: 4 kB / 0.6687 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/1.135, allocations: 75.25 kB / 0.6688 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.135, allocations: 4 kB / 0.6688 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/1.135, allocations: 15.98 kB / 0.6688 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/1.135, allocations: 7.938 kB / 0.6688 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.135, allocations: 4 kB / 0.6688 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007755/1.136, allocations: 0.7116 MB / 0.6695 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/1.136, allocations: 57.44 kB / 0.6696 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.136, allocations: 108.8 kB / 0.6697 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/1.136, allocations: 27.91 kB / 0.6697 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/1.136, allocations: 31.94 kB / 0.6697 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/1.136, allocations: 12 kB / 0.6698 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004753/1.137, allocations: 0.504 MB / 0.6703 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/1.137, allocations: 4 kB / 0.6703 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004093/1.141, allocations: 1.524 MB / 0.6717 GB, free: 177.2 MB / 0.5294 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.005762/1.147, allocations: 1.966 MB / 0.6737 GB, free: 175.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007016/1.147, allocations: 413.1 kB / 0.6741 GB, free: 175 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.147, allocations: 4 kB / 0.6741 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/1.148, allocations: 231.9 kB / 0.6743 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008052/1.148, allocations: 147.1 kB / 0.6744 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.265/2.413, allocations: 0.6026 GB / 1.277 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/2.413, allocations: 400.3 kB / 1.277 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006554/2.414, allocations: 0.5148 MB / 1.278 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/2.414, allocations: 59.78 kB / 1.278 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.643e-06/2.414, allocations: 0 / 1.278 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.05405/2.468, allocations: 56.09 MB / 1.333 GB, free: 115 MB / 0.5294 GB " [Timeout remaining time 658] 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: 10.796492341905832]