Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001091/0.001091, allocations: 77.97 kB / 21.42 MB, free: 3.078 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.001203/0.001203, allocations: 166.7 kB / 24.82 MB, free: 8.926 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.06/1.06, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.3351/0.3351, allocations: 32.81 MB / 294.6 MB, free: 1.188 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.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 376.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.124e-05, allocations: 6.312 kB / 376.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02361/0.02363, allocations: 26.35 MB / 402.9 MB, free: 9.895 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.02608, allocations: 3.076 MB / 405.9 MB, free: 6.809 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.0262, allocations: 4 kB / 406 MB, free: 6.805 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.02649, allocations: 55.66 kB / 406 MB, free: 6.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.02846, allocations: 0.8039 MB / 406.8 MB, free: 5.941 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.02871, allocations: 147.7 kB / 407 MB, free: 5.797 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004603/0.02917, allocations: 397.9 kB / 407.3 MB, free: 5.406 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.02921, allocations: 9.812 kB / 407.4 MB, free: 5.398 MB / 378.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.02567/0.05488, allocations: 15.53 MB / 422.9 MB, free: 5.738 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004597/0.05534, allocations: 131.7 kB / 423 MB, free: 5.609 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/0.05539, allocations: 12 kB / 423 MB, free: 5.598 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005479/0.06087, allocations: 3.41 MB / 426.4 MB, free: 2.156 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-05/0.06096, allocations: 47.77 kB / 426.5 MB, free: 2.109 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.06109, allocations: 87.77 kB / 426.6 MB, free: 2.023 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.06213, allocations: 466.6 kB / 427 MB, free: 1.566 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.06213, allocations: 0 / 427 MB, free: 1.566 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.06214, allocations: 0 / 427 MB, free: 1.566 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.06214, allocations: 0 / 427 MB, free: 1.566 MB / 394.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.0009918/0.06314, allocations: 0.6281 MB / 427.6 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.06318, allocations: 12.03 kB / 427.7 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005437/0.06373, allocations: 60.66 kB / 427.7 MB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.06396, allocations: 160.4 kB / 427.9 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.06409, allocations: 230.7 kB / 428.1 MB, free: 384 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.06412, allocations: 28.36 kB / 428.1 MB, free: 356 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.06452, allocations: 418.2 kB / 428.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.06453, allocations: 3.938 kB / 428.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.06456, allocations: 12 kB / 428.6 MB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.06459, allocations: 12 kB / 428.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.06494, allocations: 462.6 kB / 429 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.06617, allocations: 1.316 MB / 430.3 MB, free: 14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.06641, allocations: 128.2 kB / 430.5 MB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.968e-05/0.06648, allocations: 64.3 kB / 430.5 MB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.06757, allocations: 0.847 MB / 431.4 MB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.0676, allocations: 41.39 kB / 431.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 2.174e-06/0.0676, allocations: 0 / 431.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002247/0.06783, allocations: 109.4 kB / 431.5 MB, free: 12.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.06786, allocations: 51.41 kB / 431.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.06806, allocations: 297.1 kB / 431.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.06808, allocations: 29.7 kB / 431.9 MB, free: 12.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.0682, allocations: 278.2 kB / 432.2 MB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.06822, allocations: 43.67 kB / 432.2 MB, free: 12.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.732e-05/0.0683, allocations: 91.72 kB / 432.3 MB, free: 11.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.06847, allocations: 0.5039 MB / 432.8 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.231e-05/0.06851, allocations: 32.97 kB / 432.8 MB, free: 11.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.06876, allocations: 463.8 kB / 433.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.06917, allocations: 0.5511 MB / 433.8 MB, free: 9.996 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.06918, allocations: 8 kB / 433.8 MB, free: 9.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004044/0.06958, allocations: 365.4 kB / 434.2 MB, free: 9.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.0696, allocations: 12 kB / 434.2 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.06961, allocations: 8 kB / 434.2 MB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.06964, allocations: 16 kB / 434.2 MB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.06979, allocations: 99.77 kB / 434.3 MB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.0698, allocations: 19.94 kB / 434.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.06997, allocations: 55.56 kB / 434.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004536/0.07042, allocations: 32.39 kB / 434.4 MB, free: 9.387 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 0.0001229/0.07055, allocations: 192.3 kB / 434.6 MB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.07059, allocations: 31.86 kB / 434.7 MB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.07083, allocations: 138.6 kB / 434.8 MB, free: 9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.07084, allocations: 8 kB / 434.8 MB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.07084, allocations: 3.984 kB / 434.8 MB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.07085, allocations: 0 / 434.8 MB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.07121, allocations: 372.9 kB / 435.2 MB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.07122, allocations: 0 / 435.2 MB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.07125, allocations: 12 kB / 435.2 MB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.07125, allocations: 0 / 435.2 MB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.07126, allocations: 11.92 kB / 435.2 MB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.07126, allocations: 0 / 435.2 MB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.07127, allocations: 4.094 kB / 435.2 MB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.07144, allocations: 262.7 kB / 435.4 MB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.07148, allocations: 19.89 kB / 435.5 MB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.0715, allocations: 4 kB / 435.5 MB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.07158, allocations: 8 kB / 435.5 MB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.0716, allocations: 11.92 kB / 435.5 MB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.0716, allocations: 4 kB / 435.5 MB, free: 8.215 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.748e-05/0.07169, allocations: 185.1 kB / 435.7 MB, free: 8.035 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.07169, allocations: 0 / 435.7 MB, free: 8.035 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003935/0.07208, allocations: 95.83 kB / 435.8 MB, free: 7.941 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.0002899/0.07237, allocations: 167 kB / 435.9 MB, free: 7.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.0726, allocations: 171.3 kB / 436.1 MB, free: 7.602 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.0726, allocations: 0 / 436.1 MB, free: 7.602 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.799e-05/0.07263, allocations: 35.86 kB / 436.1 MB, free: 7.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.07294, allocations: 48.59 kB / 436.2 MB, free: 7.516 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.07403, allocations: 0.5276 MB / 436.7 MB, free: 6.945 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.652e-05/0.07409, allocations: 76.33 kB / 436.8 MB, free: 6.852 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.07424, allocations: 50.91 kB / 436.8 MB, free: 6.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.07437, allocations: 126.2 kB / 437 MB, free: 6.68 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.07437, allocations: 0 / 437 MB, free: 6.68 MB / 410.7 MB Notification: Performance of Templates: time 0.006171/0.08054, allocations: 3.456 MB / 440.4 MB, free: 3.258 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6470165541395545]