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.001367/0.001367, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.00146/0.00146, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.9191/0.9191, allocations: 177.1 MB / 205 MB, free: 5.277 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.3239/0.3239, allocations: 34.25 MB / 295.7 MB, free: 0.7148 MB / 266.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.392e-06/1.392e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.751e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005776/0.005793, allocations: 5.132 MB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004182/0.009975, allocations: 4.699 MB / 387.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.01006, allocations: 0 / 387.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.01033, allocations: 47.62 kB / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.01164, allocations: 0.7221 MB / 388.7 MB, free: 7.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.01197, allocations: 167.6 kB / 388.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.01241, allocations: 393.9 kB / 389.2 MB, free: 7.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.01245, allocations: 9.812 kB / 389.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.01269, allocations: 207.4 kB / 389.4 MB, free: 7.215 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.01283, allocations: 119.6 kB / 389.5 MB, free: 7.098 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.01286, allocations: 8 kB / 389.6 MB, free: 7.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/0.01336, allocations: 331.3 kB / 389.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.01344, allocations: 43.77 kB / 389.9 MB, free: 6.723 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.01354, allocations: 87.81 kB / 390 MB, free: 6.637 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000627/0.01417, allocations: 430.7 kB / 390.4 MB, free: 6.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.01417, allocations: 0 / 390.4 MB, free: 6.215 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01417, allocations: 0 / 390.4 MB, free: 6.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.01418, allocations: 0 / 390.4 MB, free: 6.215 MB / 362.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.0008781/0.01505, allocations: 0.6167 MB / 391 MB, free: 5.562 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.01509, allocations: 8.031 kB / 391 MB, free: 5.555 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.01528, allocations: 52.73 kB / 391.1 MB, free: 5.504 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.01552, allocations: 184.2 kB / 391.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.01566, allocations: 226.7 kB / 391.5 MB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.0157, allocations: 28.31 kB / 391.5 MB, free: 5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.01619, allocations: 468 kB / 392 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.0162, allocations: 192 / 392 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.01623, allocations: 15.94 kB / 392 MB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.01626, allocations: 8 kB / 392 MB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005253/0.01679, allocations: 0.5216 MB / 392.5 MB, free: 3.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.01801, allocations: 1.335 MB / 393.9 MB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.01828, allocations: 127.3 kB / 394 MB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.421e-05/0.01836, allocations: 59.66 kB / 394 MB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009517/0.01931, allocations: 0.749 MB / 394.8 MB, free: 1.547 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.01934, allocations: 37.39 kB / 394.8 MB, free: 1.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.01934, allocations: 0 / 394.8 MB, free: 1.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005702/0.01991, allocations: 213.1 kB / 395 MB, free: 1.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.01994, allocations: 55.41 kB / 395.1 MB, free: 1.219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.02014, allocations: 293.1 kB / 395.4 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.02016, allocations: 25.7 kB / 395.4 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.02028, allocations: 262.3 kB / 395.7 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.02032, allocations: 63.5 kB / 395.7 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.02041, allocations: 87.8 kB / 395.8 MB, free: 476 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.02055, allocations: 0.5 MB / 396.3 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/0.02063, allocations: 40.97 kB / 396.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.02089, allocations: 423.8 kB / 396.8 MB, free: 15.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.02128, allocations: 0.4983 MB / 397.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.02129, allocations: 4 kB / 397.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000508/0.0218, allocations: 372.7 kB / 397.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.02181, allocations: 9 kB / 397.6 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.02183, allocations: 8 kB / 397.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.02185, allocations: 16 kB / 397.7 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.02215, allocations: 111.8 kB / 397.8 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.02217, allocations: 19.94 kB / 397.8 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.02234, allocations: 12 kB / 397.8 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.02237, allocations: 39.91 kB / 397.8 MB, free: 14.06 MB / 378.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 0.000105/0.02248, allocations: 188.3 kB / 398 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.02253, allocations: 23.91 kB / 398.1 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.02276, allocations: 158.2 kB / 398.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.02277, allocations: 4 kB / 398.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.02277, allocations: 0 / 398.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.02278, allocations: 0 / 398.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.02319, allocations: 424.9 kB / 398.6 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02319, allocations: 4.031 kB / 398.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.02329, allocations: 27.98 kB / 398.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.02329, allocations: 3.938 kB / 398.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.0233, allocations: 4 kB / 398.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.0233, allocations: 0 / 398.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.0233, allocations: 0 / 398.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.02349, allocations: 267.5 kB / 398.9 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.02354, allocations: 31.83 kB / 399 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.02356, allocations: 128 / 399 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.02369, allocations: 8 kB / 399 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.02371, allocations: 19.92 kB / 399 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.02373, allocations: 11.98 kB / 399 MB, free: 12.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.02383, allocations: 189.1 kB / 399.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02383, allocations: 0 / 399.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004385/0.02427, allocations: 99.86 kB / 399.3 MB, free: 12.55 MB / 378.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.0002264/0.02449, allocations: 171 kB / 399.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.02474, allocations: 173.7 kB / 399.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02475, allocations: 0 / 399.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.672e-05/0.02479, allocations: 43.59 kB / 399.7 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.02519, allocations: 57.5 kB / 399.7 MB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.02635, allocations: 0.4945 MB / 400.2 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.02664, allocations: 76.58 kB / 400.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001909/0.02683, allocations: 66.72 kB / 400.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.02689, allocations: 28.5 kB / 400.4 MB, free: 11.38 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02689, allocations: 0 / 400.4 MB, free: 11.38 MB / 378.7 MB Notification: Performance of Templates: time 0.006202/0.03309, allocations: 3.374 MB / 403.7 MB, free: 8.059 MB / 378.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.3255923530086875]