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.0009398/0.0009398, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009803/0.0009803, allocations: 160.2 kB / 24.91 MB, free: 8.723 MB / 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.9251/0.9251, allocations: 177 MB / 205.2 MB, free: 5.449 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.2652/0.2652, allocations: 34.87 MB / 296.6 MB, free: 0.5273 MB / 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.933e-06/1.933e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.483e-05, allocations: 2.312 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02694/0.02696, allocations: 26.64 MB / 352.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.02993, allocations: 3.115 MB / 355.7 MB, free: 9.297 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.03, allocations: 11.94 kB / 355.7 MB, free: 9.285 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.03029, allocations: 55.59 kB / 355.8 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.03143, allocations: 0.8196 MB / 356.6 MB, free: 8.406 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.03163, allocations: 131.8 kB / 356.7 MB, free: 8.277 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.03197, allocations: 398.8 kB / 357.1 MB, free: 7.887 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.03201, allocations: 18.38 kB / 357.1 MB, free: 7.871 MB / 330.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.02483/0.05684, allocations: 15.55 MB / 372.7 MB, free: 8.195 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.05721, allocations: 131.7 kB / 372.8 MB, free: 8.066 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.05723, allocations: 8 kB / 372.8 MB, free: 8.059 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005528/0.06276, allocations: 3.421 MB / 376.2 MB, free: 4.609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.06283, allocations: 47.75 kB / 376.3 MB, free: 4.562 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.897e-05/0.06292, allocations: 83.77 kB / 376.3 MB, free: 4.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000634/0.06355, allocations: 462.6 kB / 376.8 MB, free: 4.027 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.06356, allocations: 4 kB / 376.8 MB, free: 4.023 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.06356, allocations: 4 kB / 376.8 MB, free: 4.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.06356, allocations: 3.938 kB / 376.8 MB, free: 4.016 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.0007772/0.06434, allocations: 0.5033 MB / 377.3 MB, free: 3.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.06437, allocations: 8.031 kB / 377.3 MB, free: 3.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.0645, allocations: 52.83 kB / 377.4 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.06468, allocations: 161.5 kB / 377.5 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.06481, allocations: 226.7 kB / 377.8 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.06484, allocations: 24.38 kB / 377.8 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.06518, allocations: 401.2 kB / 378.2 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.06519, allocations: 7.938 kB / 378.2 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.06521, allocations: 8 kB / 378.2 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.06524, allocations: 7.984 kB / 378.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.06564, allocations: 445.5 kB / 378.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008545/0.0665, allocations: 0.9307 MB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.06669, allocations: 159.4 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.775e-05/0.06675, allocations: 49.48 kB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.0678, allocations: 0.7564 MB / 380.5 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.06783, allocations: 38.5 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.06783, allocations: 4 kB / 380.6 MB, free: 20 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001745/0.068, allocations: 130.2 kB / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.06803, allocations: 51.41 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.06816, allocations: 241.9 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.06818, allocations: 25.7 kB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/0.06827, allocations: 223.5 kB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.0683, allocations: 43.69 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.06838, allocations: 90.05 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.06845, allocations: 334.7 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.06849, allocations: 27.81 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.06867, allocations: 340.1 kB / 382 MB, free: 14.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.06896, allocations: 434.1 kB / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.06897, allocations: 4 kB / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003393/0.06931, allocations: 312.6 kB / 382.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.06932, allocations: 8 kB / 382.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.06933, allocations: 16.12 kB / 382.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.06936, allocations: 19.98 kB / 382.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.06953, allocations: 95.84 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.06955, allocations: 31.78 kB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.06974, allocations: 59.56 kB / 383 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.06976, allocations: 24 kB / 383 MB, free: 13.2 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.495e-05/0.06985, allocations: 148.4 kB / 383.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.06988, allocations: 15.97 kB / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.07006, allocations: 135.3 kB / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.07007, allocations: 0 / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.07007, allocations: 0 / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.07007, allocations: 3.984 kB / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.07032, allocations: 329 kB / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.07032, allocations: 4.094 kB / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.07036, allocations: 15.94 kB / 383.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.07036, allocations: 0 / 383.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.07037, allocations: 4 kB / 383.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.07037, allocations: 0 / 383.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.07037, allocations: 0 / 383.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.07049, allocations: 234.3 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.07052, allocations: 27.91 kB / 383.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.07054, allocations: 7.953 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.07064, allocations: 0 / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.07066, allocations: 19.92 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.07067, allocations: 4 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.614e-05/0.07072, allocations: 70.78 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07072, allocations: 0 / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004077/0.07113, allocations: 95.86 kB / 384.1 MB, free: 12.02 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.0001886/0.07132, allocations: 136.2 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.0715, allocations: 155.6 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/0.07151, allocations: 8.438 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.07154, allocations: 36.7 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.07181, allocations: 46.22 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008962/0.0727, allocations: 0.5359 MB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.57e-05/0.07275, allocations: 72.95 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.07289, allocations: 54.8 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.07301, allocations: 91.34 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.07301, allocations: 0 / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of Templates: time 0.005857/0.07886, allocations: 3.439 MB / 388.7 MB, free: 7.461 MB / 362.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: 2.9890245171263814]