Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001216/0.001216, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001589/0.001589, allocations: 168.6 kB / 24.82 MB, free: 9.262 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2854/0.2854, allocations: 32.81 MB / 294.6 MB, free: 1.168 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.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 376.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.516e-05, allocations: 9.828 kB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004685/0.0047, allocations: 5.101 MB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.008087, allocations: 4.648 MB / 386.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.008156, allocations: 7.938 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.008398, allocations: 51.61 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009489/0.009347, allocations: 0.7182 MB / 387 MB, free: 9.777 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.009576, allocations: 167.6 kB / 387.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.009945, allocations: 405.8 kB / 387.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.009981, allocations: 9.812 kB / 387.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.01022, allocations: 203.4 kB / 387.8 MB, free: 9.004 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.01035, allocations: 111.7 kB / 387.9 MB, free: 8.895 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.01037, allocations: 8 kB / 387.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.01077, allocations: 335.3 kB / 388.3 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.01083, allocations: 43.77 kB / 388.3 MB, free: 8.516 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.0109, allocations: 91.75 kB / 388.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.01134, allocations: 430.6 kB / 388.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.01134, allocations: 0 / 388.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01135, allocations: 0 / 388.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.01135, allocations: 4 kB / 388.8 MB, free: 8 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.000723/0.01207, allocations: 0.6167 MB / 389.4 MB, free: 7.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.01211, allocations: 8.031 kB / 389.4 MB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.01224, allocations: 56.67 kB / 389.5 MB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.01244, allocations: 176.2 kB / 389.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.01257, allocations: 226.7 kB / 389.9 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.01259, allocations: 24.38 kB / 389.9 MB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.01297, allocations: 448 kB / 390.3 MB, free: 6.273 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01298, allocations: 4.125 kB / 390.3 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.013, allocations: 11.94 kB / 390.4 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.01303, allocations: 12 kB / 390.4 MB, free: 6.246 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.01335, allocations: 456.6 kB / 390.8 MB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008128/0.01417, allocations: 1.312 MB / 392.1 MB, free: 4.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.01434, allocations: 119.3 kB / 392.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.01439, allocations: 59.59 kB / 392.3 MB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007932/0.01519, allocations: 0.7789 MB / 393.1 MB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.01522, allocations: 37.33 kB / 393.1 MB, free: 3.398 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.01522, allocations: 0 / 393.1 MB, free: 3.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006881/0.01591, allocations: 184.8 kB / 393.3 MB, free: 3.215 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.01593, allocations: 55.41 kB / 393.4 MB, free: 3.148 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.01607, allocations: 290 kB / 393.6 MB, free: 2.848 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.01608, allocations: 29.7 kB / 393.7 MB, free: 2.812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.01618, allocations: 270.2 kB / 393.9 MB, free: 2.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.01621, allocations: 59.61 kB / 394 MB, free: 2.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.01628, allocations: 91.72 kB / 394.1 MB, free: 2.387 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.0164, allocations: 0.5039 MB / 394.6 MB, free: 1.871 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.421e-05/0.01643, allocations: 36.97 kB / 394.6 MB, free: 1.836 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.01664, allocations: 419.7 kB / 395 MB, free: 1.246 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.01693, allocations: 0.4904 MB / 395.5 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.01694, allocations: 4 kB / 395.5 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002991/0.01724, allocations: 345.3 kB / 395.9 MB, free: 236 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.01725, allocations: 8 kB / 395.9 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.01726, allocations: 12 kB / 395.9 MB, free: 216 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.01728, allocations: 15.98 kB / 395.9 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.01747, allocations: 103.8 kB / 396 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.01748, allocations: 20.42 kB / 396 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.0176, allocations: 20 kB / 396 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.01761, allocations: 24 kB / 396.1 MB, free: 32 kB / 362.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.0001044/0.01772, allocations: 192.3 kB / 396.2 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.01775, allocations: 31.8 kB / 396.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.01793, allocations: 134.8 kB / 396.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.01794, allocations: 4 kB / 396.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.01794, allocations: 0 / 396.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01795, allocations: 0 / 396.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.01825, allocations: 385.5 kB / 396.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01826, allocations: 0 / 396.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-05/0.01833, allocations: 32.11 kB / 396.8 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.01834, allocations: 0 / 396.8 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.01834, allocations: 8 kB / 396.8 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01835, allocations: 4.031 kB / 396.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01835, allocations: 0 / 396.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.01849, allocations: 267.3 kB / 397.1 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.01853, allocations: 31.83 kB / 397.1 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.01855, allocations: 7.938 kB / 397.1 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-05/0.01864, allocations: 8 kB / 397.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.01866, allocations: 11.97 kB / 397.1 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.01867, allocations: 4 kB / 397.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.347e-05/0.01875, allocations: 185.1 kB / 397.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01875, allocations: 0 / 397.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002902/0.01904, allocations: 103.8 kB / 397.4 MB, free: 14.57 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.0002014/0.01924, allocations: 174.9 kB / 397.6 MB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.01941, allocations: 170.3 kB / 397.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01941, allocations: 256 / 397.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.01944, allocations: 43.59 kB / 397.8 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.01972, allocations: 60.31 kB / 397.9 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.02053, allocations: 499.1 kB / 398.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.265e-05/0.02059, allocations: 76.64 kB / 398.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.02071, allocations: 54.84 kB / 398.5 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.02086, allocations: 146.1 kB / 398.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02086, allocations: 0 / 398.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of Templates: time 0.005489/0.02635, allocations: 3.841 MB / 402.5 MB, free: 9.508 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.385442830156535]