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.001095/0.001095, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001086/0.001086, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] 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.2591/0.2591, allocations: 32.8 MB / 294.6 MB, free: 1.203 MB / 266.7 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.623e-06/1.623e-06, allocations: 0 / 323.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.681e-05, allocations: 4.906 kB / 323.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01792/0.01794, allocations: 13.93 MB / 337.2 MB, free: 11.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03051/0.04846, allocations: 26.12 MB / 363.3 MB, free: 1.484 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000281/0.04874, allocations: 0 / 363.3 MB, free: 1.484 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.04916, allocations: 95.3 kB / 363.4 MB, free: 1.391 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01912/0.06829, allocations: 8.733 MB / 372.1 MB, free: 8.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/0.06902, allocations: 366.6 kB / 372.5 MB, free: 8.262 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.07149, allocations: 2.052 MB / 374.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.07153, allocations: 14.56 kB / 374.6 MB, free: 6.172 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.07194, allocations: 334.8 kB / 374.9 MB, free: 5.844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00374/0.07568, allocations: 3.266 MB / 378.2 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.07572, allocations: 16 kB / 378.2 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01347/0.08918, allocations: 10.36 MB / 388.5 MB, free: 8.137 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.389e-05/0.08928, allocations: 51.75 kB / 388.6 MB, free: 8.086 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.08944, allocations: 103.8 kB / 388.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01498/0.1044, allocations: 7.998 MB / 396.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1044, allocations: 0 / 396.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1044, allocations: 0 / 396.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.1044, allocations: 0 / 396.7 MB, free: 15.97 MB / 378.7 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.003194/0.1076, allocations: 1.523 MB / 398.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1077, allocations: 8.031 kB / 398.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009866/0.1087, allocations: 387.9 kB / 398.6 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.1089, allocations: 197.3 kB / 398.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.1089, allocations: 25.03 kB / 398.8 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.1089, allocations: 28.38 kB / 398.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1101, allocations: 0.8925 MB / 399.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1102, allocations: 11.86 kB / 399.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.1102, allocations: 16 kB / 399.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1102, allocations: 8 kB / 399.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.1113, allocations: 0.7211 MB / 400.5 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.1129, allocations: 1.789 MB / 402.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/0.1136, allocations: 394.6 kB / 402.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.1137, allocations: 48.77 kB / 402.7 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4912/0.6049, allocations: 190.6 MB / 0.5794 GB, free: 9.523 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008926/0.6058, allocations: 483.8 kB / 0.5799 GB, free: 9.066 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.6058, allocations: 0 / 0.5799 GB, free: 9.066 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001535/0.6073, allocations: 0.7878 MB / 0.5807 GB, free: 8.395 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.6074, allocations: 372 kB / 0.581 GB, free: 7.949 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.6076, allocations: 199.6 kB / 0.5812 GB, free: 7.773 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.6076, allocations: 33.56 kB / 0.5812 GB, free: 7.738 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.6077, allocations: 193.7 kB / 0.5814 GB, free: 7.559 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.6077, allocations: 112.6 kB / 0.5815 GB, free: 7.465 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-05/0.6078, allocations: 114.6 kB / 0.5816 GB, free: 7.391 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.6079, allocations: 333.6 kB / 0.582 GB, free: 7.062 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.019e-05/0.608, allocations: 79.38 kB / 0.582 GB, free: 6.996 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.6082, allocations: 345.3 kB / 0.5824 GB, free: 6.555 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.6086, allocations: 498.5 kB / 0.5828 GB, free: 6.023 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.6086, allocations: 4 kB / 0.5828 GB, free: 6.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003855/0.609, allocations: 395.4 kB / 0.5832 GB, free: 5.715 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.609, allocations: 8 kB / 0.5832 GB, free: 5.707 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.609, allocations: 8 kB / 0.5832 GB, free: 5.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.609, allocations: 12 kB / 0.5833 GB, free: 5.688 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.6092, allocations: 126 kB / 0.5834 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.6092, allocations: 14.91 kB / 0.5834 GB, free: 5.574 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.6094, allocations: 54 kB / 0.5834 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.6094, allocations: 35.84 kB / 0.5835 GB, free: 5.504 MB / 458.7 MB 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,state2.phase,state3.phase,state4.phase,state5.phase,state_h_is.phase,state.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.0001212/0.6096, allocations: 156.9 kB / 0.5836 GB, free: 5.363 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.6096, allocations: 31.84 kB / 0.5837 GB, free: 5.336 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.6108, allocations: 1.426 MB / 0.585 GB, free: 4.109 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.6108, allocations: 19.84 kB / 0.5851 GB, free: 4.094 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.6108, allocations: 4 kB / 0.5851 GB, free: 4.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6108, allocations: 4 kB / 0.5851 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.6113, allocations: 0.5551 MB / 0.5856 GB, free: 3.629 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6113, allocations: 4.312 kB / 0.5856 GB, free: 3.625 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.6115, allocations: 82.86 kB / 0.5857 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.6115, allocations: 4 kB / 0.5857 GB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.6115, allocations: 12 kB / 0.5857 GB, free: 3.535 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.6115, allocations: 4 kB / 0.5857 GB, free: 3.531 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6115, allocations: 7.094 kB / 0.5857 GB, free: 3.527 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.6119, allocations: 0.4913 MB / 0.5862 GB, free: 2.988 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.612, allocations: 54.48 kB / 0.5863 GB, free: 2.938 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.835e-05/0.6121, allocations: 107 kB / 0.5864 GB, free: 2.832 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.6122, allocations: 23.98 kB / 0.5864 GB, free: 2.809 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.6122, allocations: 35.17 kB / 0.5864 GB, free: 2.777 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.6122, allocations: 15.3 kB / 0.5864 GB, free: 2.766 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002548/0.6125, allocations: 335.7 kB / 0.5867 GB, free: 2.465 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6125, allocations: 0 / 0.5867 GB, free: 2.465 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003571/0.6161, allocations: 1.532 MB / 0.5882 GB, free: 0.9297 MB / 458.7 MB 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.00541/0.6215, allocations: 2.077 MB / 0.5903 GB, free: 15 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004887/0.622, allocations: 298.8 kB / 0.5906 GB, free: 14.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.031e-05/0.622, allocations: 12 kB / 0.5906 GB, free: 14.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.6221, allocations: 147.1 kB / 0.5907 GB, free: 14.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.6227, allocations: 205.5 kB / 0.5909 GB, free: 14.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.162/1.785, allocations: 0.5999 GB / 1.191 GB, free: 126.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/1.785, allocations: 168.7 kB / 1.191 GB, free: 126.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006064/1.786, allocations: 0.5197 MB / 1.191 GB, free: 126.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/1.786, allocations: 159.3 kB / 1.192 GB, free: 126 MB / 474.7 MB Notification: Performance of SimCode: time 1.783e-06/1.786, allocations: 0 / 1.192 GB, free: 126 MB / 474.7 MB Notification: Performance of Templates: time 0.05191/1.838, allocations: 65.03 MB / 1.255 GB, free: 61.28 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.136697601061314]