Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001427/0.001427, allocations: 80.41 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.001704/0.001704, allocations: 170 kB / 25.61 MB, free: 8.582 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.9271/0.9271, allocations: 177.1 MB / 206 MB, free: 4.512 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.1501/0.1501, allocations: 34.25 MB / 296.8 MB, free: 13.91 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.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042e-05/1.164e-05, allocations: 2.312 kB / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007097/0.007108, allocations: 5.095 MB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005977/0.01309, allocations: 4.66 MB / 389.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.01316, allocations: 3.938 kB / 389.1 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.01338, allocations: 51.62 kB / 389.1 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.01741, allocations: 0.7182 MB / 389.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.01767, allocations: 163.6 kB / 390 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.01801, allocations: 393.8 kB / 390.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.01805, allocations: 9.812 kB / 390.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.01824, allocations: 215.4 kB / 390.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.01837, allocations: 115.6 kB / 390.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.01839, allocations: 8 kB / 390.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.01881, allocations: 327.3 kB / 391 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.01887, allocations: 51.75 kB / 391.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.01894, allocations: 79.83 kB / 391.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.01939, allocations: 430.7 kB / 391.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.01939, allocations: 0 / 391.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01939, allocations: 0 / 391.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.01939, allocations: 0 / 391.6 MB, free: 11.03 MB / 314.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.003665/0.02306, allocations: 0.6206 MB / 392.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.02309, allocations: 12.03 kB / 392.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.02323, allocations: 52.73 kB / 392.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.02339, allocations: 172.3 kB / 392.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.552e-05/0.02347, allocations: 230.6 kB / 392.7 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.0235, allocations: 28.38 kB / 392.7 MB, free: 9.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.02376, allocations: 444 kB / 393.1 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.02377, allocations: 8.062 kB / 393.1 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.02379, allocations: 15.94 kB / 393.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.02381, allocations: 11.98 kB / 393.2 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.02415, allocations: 460.7 kB / 393.6 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.02483, allocations: 1.32 MB / 394.9 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.025, allocations: 119.3 kB / 395.1 MB, free: 7.309 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.02506, allocations: 63.39 kB / 395.1 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003772/0.02883, allocations: 0.7451 MB / 395.9 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.02885, allocations: 37.39 kB / 395.9 MB, free: 6.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.02885, allocations: 3.938 kB / 395.9 MB, free: 6.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003894/0.02924, allocations: 183.9 kB / 396.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.02925, allocations: 59.41 kB / 396.1 MB, free: 6.172 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.02936, allocations: 289 kB / 396.4 MB, free: 5.871 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.02937, allocations: 25.7 kB / 396.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.02943, allocations: 266.2 kB / 396.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.02946, allocations: 59.52 kB / 396.8 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.02953, allocations: 99.7 kB / 396.9 MB, free: 5.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.933e-05/0.02958, allocations: 0.5 MB / 397.4 MB, free: 4.898 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/0.02962, allocations: 36.95 kB / 397.4 MB, free: 4.863 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.02975, allocations: 411.7 kB / 397.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.02998, allocations: 0.4983 MB / 398.3 MB, free: 3.605 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.02999, allocations: 0 / 398.3 MB, free: 3.605 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003468/0.03033, allocations: 349.8 kB / 398.6 MB, free: 3.258 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.03035, allocations: 12 kB / 398.7 MB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.03035, allocations: 12 kB / 398.7 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.03037, allocations: 12 kB / 398.7 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.03054, allocations: 103.8 kB / 398.8 MB, free: 3.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.03055, allocations: 19.92 kB / 398.8 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.03073, allocations: 20 kB / 398.8 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.03075, allocations: 24 kB / 398.8 MB, free: 3.059 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 6.833e-05/0.03082, allocations: 192.3 kB / 399 MB, free: 2.859 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.03086, allocations: 23.86 kB / 399.1 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.03103, allocations: 142.8 kB / 399.2 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.03104, allocations: 7.984 kB / 399.2 MB, free: 2.684 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.03104, allocations: 3.938 kB / 399.2 MB, free: 2.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.03105, allocations: 4 kB / 399.2 MB, free: 2.676 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.03127, allocations: 388.7 kB / 399.6 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.03127, allocations: 0 / 399.6 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.03134, allocations: 27.98 kB / 399.6 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.03134, allocations: 0 / 399.6 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.03135, allocations: 7.984 kB / 399.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.03135, allocations: 0 / 399.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.03135, allocations: 0 / 399.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.15e-05/0.03144, allocations: 267.3 kB / 399.9 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.03147, allocations: 19.89 kB / 399.9 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.03149, allocations: 15.98 kB / 399.9 MB, free: 1.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.03158, allocations: 7.984 kB / 399.9 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.0316, allocations: 8.109 kB / 399.9 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.03161, allocations: 12 kB / 399.9 MB, free: 1.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.969e-05/0.03165, allocations: 185.1 kB / 400.1 MB, free: 1.699 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03165, allocations: 0 / 400.1 MB, free: 1.699 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000273/0.03192, allocations: 99.81 kB / 400.2 MB, free: 1.602 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.000144/0.03206, allocations: 171 kB / 400.4 MB, free: 1.426 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.0322, allocations: 164.8 kB / 400.6 MB, free: 1.262 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.0322, allocations: 1.938 kB / 400.6 MB, free: 1.262 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.307e-05/0.03222, allocations: 43.59 kB / 400.6 MB, free: 1.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.03248, allocations: 56.45 kB / 400.7 MB, free: 1.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.03313, allocations: 491.2 kB / 401.1 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.446e-05/0.03315, allocations: 76.33 kB / 401.2 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.03326, allocations: 58.78 kB / 401.3 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.03339, allocations: 146.1 kB / 401.4 MB, free: 356 kB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.03339, allocations: 0 / 401.4 MB, free: 356 kB / 314.7 MB Notification: Performance of Templates: time 0.005071/0.03846, allocations: 3.882 MB / 405.3 MB, free: 12.54 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.084577274043113]