Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009158/0.0009158, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9372/0.9372, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2917/0.2917, allocations: 34.86 MB / 296.3 MB, free: 492 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.133e-05, allocations: 4.844 kB / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.0217/0.02172, allocations: 26.7 MB / 405.5 MB, free: 7.223 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.02419, allocations: 3.111 MB / 408.6 MB, free: 4.102 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.02427, allocations: 0 / 408.6 MB, free: 4.102 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.02452, allocations: 47.62 kB / 408.7 MB, free: 4.055 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.02625, allocations: 0.8157 MB / 409.5 MB, free: 3.234 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.02658, allocations: 139.7 kB / 409.6 MB, free: 3.098 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004596/0.02704, allocations: 401.9 kB / 410 MB, free: 2.703 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.02708, allocations: 5.812 kB / 410 MB, free: 2.699 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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.02386/0.05095, allocations: 15.53 MB / 425.5 MB, free: 3.043 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.0512, allocations: 139.7 kB / 425.7 MB, free: 2.906 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.05123, allocations: 8 kB / 425.7 MB, free: 2.898 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004544/0.05578, allocations: 3.41 MB / 429.1 MB, free: 15.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.05584, allocations: 55.73 kB / 429.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.05592, allocations: 75.83 kB / 429.2 MB, free: 15.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005592/0.05648, allocations: 470.6 kB / 429.7 MB, free: 14.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.05648, allocations: 0 / 429.7 MB, free: 14.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.05648, allocations: 0 / 429.7 MB, free: 14.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.05649, allocations: 0 / 429.7 MB, free: 14.87 MB / 410.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.0007149/0.0572, allocations: 0.6281 MB / 430.3 MB, free: 14.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.05724, allocations: 8.031 kB / 430.3 MB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.05738, allocations: 56.67 kB / 430.4 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.05754, allocations: 168.4 kB / 430.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.05765, allocations: 222.7 kB / 430.8 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.05767, allocations: 32.31 kB / 430.8 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.05803, allocations: 446.2 kB / 431.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.05804, allocations: 3.938 kB / 431.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.05806, allocations: 12 kB / 431.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.05808, allocations: 8 kB / 431.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.05846, allocations: 0.5255 MB / 431.8 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.05934, allocations: 1.339 MB / 433.1 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.05957, allocations: 150.5 kB / 433.3 MB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.05964, allocations: 64.31 kB / 433.3 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008512/0.0605, allocations: 0.8244 MB / 434.1 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.06052, allocations: 37.39 kB / 434.2 MB, free: 10.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.06052, allocations: 4 kB / 434.2 MB, free: 10.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001806/0.0607, allocations: 109.4 kB / 434.3 MB, free: 9.953 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.06072, allocations: 55.41 kB / 434.3 MB, free: 9.887 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.06087, allocations: 293.2 kB / 434.6 MB, free: 9.582 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.06089, allocations: 33.7 kB / 434.7 MB, free: 9.543 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.06112, allocations: 270.2 kB / 434.9 MB, free: 9.273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.06114, allocations: 43.69 kB / 435 MB, free: 9.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.06121, allocations: 95.75 kB / 435.1 MB, free: 9.129 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.06131, allocations: 0.5 MB / 435.6 MB, free: 8.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.06135, allocations: 36.97 kB / 435.6 MB, free: 8.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.06156, allocations: 467.9 kB / 436.1 MB, free: 7.922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.06187, allocations: 0.5589 MB / 436.6 MB, free: 7.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.06187, allocations: 4 kB / 436.6 MB, free: 7.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003403/0.06221, allocations: 389.5 kB / 437 MB, free: 6.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.06223, allocations: 12 kB / 437 MB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.06224, allocations: 8 kB / 437 MB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.06225, allocations: 16 kB / 437 MB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.06244, allocations: 95.83 kB / 437.1 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.06245, allocations: 19.94 kB / 437.1 MB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.06257, allocations: 55.5 kB / 437.2 MB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.06259, allocations: 31.98 kB / 437.2 MB, free: 6.535 MB / 410.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.334e-05/0.06268, allocations: 196.6 kB / 437.4 MB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.06271, allocations: 23.86 kB / 437.4 MB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.06288, allocations: 146.6 kB / 437.6 MB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.06288, allocations: 4 kB / 437.6 MB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.06289, allocations: 4 kB / 437.6 MB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.06289, allocations: 0 / 437.6 MB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.06316, allocations: 416.3 kB / 438 MB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.06316, allocations: 0 / 438 MB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.06319, allocations: 19.92 kB / 438 MB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.06319, allocations: 0 / 438 MB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.0632, allocations: 4 kB / 438 MB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.06321, allocations: 3.938 kB / 438 MB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.06321, allocations: 0 / 438 MB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.06334, allocations: 266.9 kB / 438.3 MB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.06336, allocations: 27.77 kB / 438.3 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.06338, allocations: 0 / 438.3 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.06345, allocations: 15.92 kB / 438.3 MB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.06347, allocations: 4 kB / 438.3 MB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.06347, allocations: 7.984 kB / 438.3 MB, free: 5.301 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.534e-05/0.06356, allocations: 189.1 kB / 438.5 MB, free: 5.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06356, allocations: 0 / 438.5 MB, free: 5.113 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002947/0.06385, allocations: 103.8 kB / 438.6 MB, free: 5.012 MB / 410.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.0002024/0.06406, allocations: 159 kB / 438.8 MB, free: 4.848 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.06426, allocations: 166.7 kB / 439 MB, free: 4.684 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.06426, allocations: 4.875 kB / 439 MB, free: 4.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/0.06428, allocations: 31.61 kB / 439 MB, free: 4.645 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.06454, allocations: 48.64 kB / 439 MB, free: 4.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008797/0.06542, allocations: 0.5274 MB / 439.6 MB, free: 4.027 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.159e-05/0.06546, allocations: 76.33 kB / 439.6 MB, free: 3.934 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.06558, allocations: 59.03 kB / 439.7 MB, free: 3.879 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.06561, allocations: 24.5 kB / 439.7 MB, free: 3.855 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.06561, allocations: 0 / 439.7 MB, free: 3.855 MB / 410.7 MB Notification: Performance of Templates: time 0.004877/0.07049, allocations: 3.486 MB / 443.2 MB, free: 436 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2336902138777077]