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.0009917/0.0009917, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001154/0.001154, allocations: 167 kB / 24.82 MB, free: 9.273 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.9779/0.9779, allocations: 177 MB / 205.1 MB, free: 5.473 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.2527/0.2527, allocations: 34.86 MB / 296.6 MB, free: 432 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.262e-06/1.262e-06, allocations: 0 / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.764e-05, allocations: 7.156 kB / 379.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02879/0.02881, allocations: 26.35 MB / 405.6 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.03106, allocations: 3.084 MB / 408.7 MB, free: 4.246 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.024e-05/0.03115, allocations: 0 / 408.7 MB, free: 4.246 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.03137, allocations: 59.59 kB / 408.7 MB, free: 4.188 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.03279, allocations: 0.8117 MB / 409.6 MB, free: 3.371 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.03302, allocations: 135.8 kB / 409.7 MB, free: 3.238 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.0334, allocations: 405.8 kB / 410.1 MB, free: 2.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.749e-05/0.03343, allocations: 5.812 kB / 410.1 MB, free: 2.836 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.01969/0.05312, allocations: 15.52 MB / 425.6 MB, free: 3.188 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.05335, allocations: 147.6 kB / 425.8 MB, free: 3.043 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.05337, allocations: 8 kB / 425.8 MB, free: 3.035 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003906/0.05728, allocations: 3.407 MB / 429.2 MB, free: 15.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.05734, allocations: 47.77 kB / 429.2 MB, free: 15.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.1e-05/0.05741, allocations: 83.81 kB / 429.3 MB, free: 15.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.05792, allocations: 458.6 kB / 429.7 MB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.05792, allocations: 0 / 429.7 MB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.05792, allocations: 3.938 kB / 429.8 MB, free: 15.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.05792, allocations: 0 / 429.8 MB, free: 15.02 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.000699/0.05862, allocations: 0.6281 MB / 430.4 MB, free: 14.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.05866, allocations: 15.97 kB / 430.4 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.05877, allocations: 56.67 kB / 430.4 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.05894, allocations: 172.3 kB / 430.6 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.05904, allocations: 230.7 kB / 430.8 MB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.05907, allocations: 24.38 kB / 430.9 MB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.05935, allocations: 414.2 kB / 431.3 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.05936, allocations: 7.938 kB / 431.3 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.05937, allocations: 8 kB / 431.3 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.05939, allocations: 8 kB / 431.3 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.0597, allocations: 466.6 kB / 431.8 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008021/0.0605, allocations: 1.324 MB / 433.1 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.06067, allocations: 128.3 kB / 433.2 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.06073, allocations: 56.25 kB / 433.3 MB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008139/0.06154, allocations: 0.8468 MB / 434.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.06156, allocations: 41.33 kB / 434.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.06156, allocations: 0 / 434.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001611/0.06172, allocations: 105.5 kB / 434.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.06175, allocations: 51.41 kB / 434.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.06188, allocations: 300.9 kB / 434.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.06189, allocations: 25.7 kB / 434.6 MB, free: 9.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.897e-05/0.06199, allocations: 278.2 kB / 434.9 MB, free: 9.543 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.06201, allocations: 43.67 kB / 434.9 MB, free: 9.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.06208, allocations: 95.72 kB / 435 MB, free: 9.398 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.06219, allocations: 0.5039 MB / 435.5 MB, free: 8.883 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.06222, allocations: 32.95 kB / 435.6 MB, free: 8.852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.06243, allocations: 467.8 kB / 436 MB, free: 8.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.06273, allocations: 0.5511 MB / 436.6 MB, free: 7.438 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.06274, allocations: 4 kB / 436.6 MB, free: 7.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003099/0.06305, allocations: 361.7 kB / 436.9 MB, free: 7.074 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.06306, allocations: 8 kB / 436.9 MB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.06307, allocations: 12 kB / 436.9 MB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.06309, allocations: 12 kB / 437 MB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.06322, allocations: 107.8 kB / 437.1 MB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.06323, allocations: 19.92 kB / 437.1 MB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.06337, allocations: 59.56 kB / 437.1 MB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.06339, allocations: 24 kB / 437.2 MB, free: 6.836 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 7.964e-05/0.06346, allocations: 188.5 kB / 437.3 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.06349, allocations: 31.86 kB / 437.4 MB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.06365, allocations: 150.5 kB / 437.5 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.06366, allocations: 0 / 437.5 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.06366, allocations: 48 / 437.5 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.06367, allocations: 7.984 kB / 437.5 MB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.06392, allocations: 380.8 kB / 437.9 MB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.06392, allocations: 0 / 437.9 MB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/0.06394, allocations: 15.98 kB / 437.9 MB, free: 6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.06395, allocations: 0 / 437.9 MB, free: 6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.06395, allocations: 7.938 kB / 437.9 MB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.06395, allocations: 4 kB / 437.9 MB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.06395, allocations: 0 / 437.9 MB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.06408, allocations: 258.8 kB / 438.2 MB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.0641, allocations: 23.89 kB / 438.2 MB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.06412, allocations: 8 kB / 438.2 MB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.06419, allocations: 3.984 kB / 438.2 MB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.0642, allocations: 11.88 kB / 438.2 MB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.06421, allocations: 7.984 kB / 438.2 MB, free: 5.648 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.891e-05/0.0643, allocations: 185.1 kB / 438.4 MB, free: 5.465 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0643, allocations: 4 kB / 438.4 MB, free: 5.461 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.0646, allocations: 95.81 kB / 438.5 MB, free: 5.367 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.0001792/0.06478, allocations: 159.1 kB / 438.7 MB, free: 5.203 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.06493, allocations: 166.8 kB / 438.8 MB, free: 5.039 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.06494, allocations: 0 / 438.8 MB, free: 5.039 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.23e-05/0.06496, allocations: 32.36 kB / 438.9 MB, free: 5.004 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.06521, allocations: 52.83 kB / 438.9 MB, free: 4.953 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007826/0.06599, allocations: 0.5354 MB / 439.5 MB, free: 4.375 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.06603, allocations: 72.33 kB / 439.5 MB, free: 4.285 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.06614, allocations: 50.92 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.06625, allocations: 126.2 kB / 439.7 MB, free: 4.113 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.06625, allocations: 0 / 439.7 MB, free: 4.113 MB / 410.7 MB Notification: Performance of Templates: time 0.004627/0.07088, allocations: 3.443 MB / 443.1 MB, free: 0.7109 MB / 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.314497663639486]