Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.0009695/0.0009695, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009907/0.0009907, allocations: 162.8 kB / 25.61 MB, free: 8.902 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 0.9037/0.9037, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.146/0.146, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.758e-05, allocations: 2.312 kB / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.01777/0.01779, allocations: 26.33 MB / 405.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.02, allocations: 3.096 MB / 408.7 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.02009, allocations: 0 / 408.7 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.02034, allocations: 47.67 kB / 408.8 MB, free: 9.781 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.02167, allocations: 0.8156 MB / 409.6 MB, free: 8.961 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.02189, allocations: 151.7 kB / 409.8 MB, free: 8.812 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003903/0.02228, allocations: 393.9 kB / 410.1 MB, free: 8.426 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.02232, allocations: 13.78 kB / 410.1 MB, free: 8.414 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value Notification: Performance of NFEvalConstants.evaluate: time 0.02328/0.0456, allocations: 15.51 MB / 425.7 MB, free: 8.773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.04587, allocations: 135.7 kB / 425.8 MB, free: 8.641 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.04589, allocations: 8 kB / 425.8 MB, free: 8.633 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004927/0.05082, allocations: 3.41 MB / 429.2 MB, free: 5.195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.05089, allocations: 51.75 kB / 429.3 MB, free: 5.145 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.285e-05/0.05097, allocations: 79.77 kB / 429.3 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00059/0.05156, allocations: 470.5 kB / 429.8 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.05156, allocations: 0 / 429.8 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.05156, allocations: 0 / 429.8 MB, free: 4.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.05157, allocations: 4 kB / 429.8 MB, free: 4.602 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007326/0.0523, allocations: 0.6358 MB / 430.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.05233, allocations: 8.031 kB / 430.5 MB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.05246, allocations: 52.73 kB / 430.5 MB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.05264, allocations: 168.3 kB / 430.7 MB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.05275, allocations: 226.7 kB / 430.9 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.05277, allocations: 24.38 kB / 430.9 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.05308, allocations: 422.2 kB / 431.3 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.05309, allocations: 3.938 kB / 431.3 MB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.05311, allocations: 8 kB / 431.3 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.05313, allocations: 8 kB / 431.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.05344, allocations: 466.6 kB / 431.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007943/0.05424, allocations: 1.324 MB / 433.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.05443, allocations: 136.2 kB / 433.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.05449, allocations: 56.31 kB / 433.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000821/0.05531, allocations: 0.8244 MB / 434.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.05533, allocations: 37.39 kB / 434.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.05533, allocations: 0 / 434.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001785/0.05551, allocations: 101.5 kB / 434.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.05554, allocations: 59.34 kB / 434.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.05593, allocations: 293.1 kB / 434.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.05595, allocations: 33.69 kB / 434.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.05604, allocations: 274.1 kB / 434.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.05606, allocations: 43.67 kB / 435 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.05612, allocations: 95.72 kB / 435.1 MB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.05623, allocations: 0.5039 MB / 435.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.811e-05/0.05625, allocations: 28.97 kB / 435.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.05645, allocations: 467.8 kB / 436 MB, free: 13.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.05673, allocations: 0.5472 MB / 436.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.05674, allocations: 4 kB / 436.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003246/0.05706, allocations: 361 kB / 436.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.05708, allocations: 8 kB / 437 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.05709, allocations: 16 kB / 437 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.0571, allocations: 12.78 kB / 437 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.05724, allocations: 107.8 kB / 437.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.05725, allocations: 23.92 kB / 437.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.05738, allocations: 51.62 kB / 437.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.05739, allocations: 24 kB / 437.2 MB, free: 12.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 8.239e-05/0.05748, allocations: 200.2 kB / 437.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.05751, allocations: 23.94 kB / 437.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.05767, allocations: 154.6 kB / 437.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.05768, allocations: 0 / 437.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.05768, allocations: 0 / 437.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.05769, allocations: 7.938 kB / 437.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.05793, allocations: 364.9 kB / 437.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.05793, allocations: 0 / 437.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.919e-05/0.05796, allocations: 19.98 kB / 437.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.05796, allocations: 4.094 kB / 437.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.05797, allocations: 4 kB / 437.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.05797, allocations: 3.938 kB / 437.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.05797, allocations: 0 / 437.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.05809, allocations: 266.7 kB / 438.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.05812, allocations: 15.91 kB / 438.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.05814, allocations: 7.938 kB / 438.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.05822, allocations: 7.984 kB / 438.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.05823, allocations: 7.938 kB / 438.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.05824, allocations: 7.984 kB / 438.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.621e-05/0.05831, allocations: 193.1 kB / 438.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05831, allocations: 0 / 438.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.05861, allocations: 95.83 kB / 438.5 MB, free: 10.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0001835/0.05879, allocations: 159.2 kB / 438.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.05895, allocations: 175 kB / 438.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.05896, allocations: 0 / 438.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.02e-05/0.05898, allocations: 27.61 kB / 438.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.05924, allocations: 54.52 kB / 438.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007997/0.06004, allocations: 0.5243 MB / 439.5 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.952e-05/0.06008, allocations: 72.33 kB / 439.5 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.06019, allocations: 50.92 kB / 439.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.0603, allocations: 126.2 kB / 439.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0603, allocations: 0 / 439.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of Templates: time 0.005007/0.0653, allocations: 3.48 MB / 443.2 MB, free: 6.312 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.16393864993006]