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.001339/0.001339, allocations: 81.97 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.001035/0.001035, allocations: 167.9 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.9175/0.9175, allocations: 177.2 MB / 206.1 MB, free: 4.477 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.1411/0.1411, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.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.823e-06/1.823e-06, allocations: 0 / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.165e-05, allocations: 5.047 kB / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004295/0.004317, allocations: 5.094 MB / 382.4 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003216/0.007532, allocations: 4.656 MB / 387 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-05/0.007619, allocations: 0 / 387 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.007863, allocations: 59.59 kB / 387.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.008966, allocations: 0.7181 MB / 387.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.009173, allocations: 163.7 kB / 388 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.009479, allocations: 401.7 kB / 388.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.35e-05/0.009512, allocations: 9.812 kB / 388.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.009672, allocations: 211.4 kB / 388.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.009775, allocations: 107.7 kB / 388.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.009793, allocations: 8 kB / 388.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.01016, allocations: 327.3 kB / 389 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.01021, allocations: 51.75 kB / 389.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.01027, allocations: 79.83 kB / 389.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.01067, allocations: 434.6 kB / 389.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.01067, allocations: 0 / 389.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.01067, allocations: 4 kB / 389.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.01068, allocations: 0 / 389.6 MB, free: 13.21 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.0006057/0.01128, allocations: 0.6206 MB / 390.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.01131, allocations: 15.98 kB / 390.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.01142, allocations: 56.67 kB / 390.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.01156, allocations: 168.3 kB / 390.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/0.01163, allocations: 230.7 kB / 390.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.01165, allocations: 28.38 kB / 390.7 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.01187, allocations: 439.9 kB / 391.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.01188, allocations: 192 / 391.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.0119, allocations: 15.94 kB / 391.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.01192, allocations: 8 kB / 391.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.01218, allocations: 468.6 kB / 391.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/0.01273, allocations: 1.324 MB / 392.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.01289, allocations: 119.3 kB / 393 MB, free: 9.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.01293, allocations: 55.41 kB / 393.1 MB, free: 9.422 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006136/0.01354, allocations: 0.749 MB / 393.8 MB, free: 8.652 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.01356, allocations: 45.39 kB / 393.9 MB, free: 8.598 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.01356, allocations: 0 / 393.9 MB, free: 8.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003631/0.01392, allocations: 185.2 kB / 394.1 MB, free: 8.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.01394, allocations: 51.41 kB / 394.1 MB, free: 8.348 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/0.01404, allocations: 294 kB / 394.4 MB, free: 8.043 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.01405, allocations: 25.7 kB / 394.4 MB, free: 8.012 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.0141, allocations: 262.3 kB / 394.7 MB, free: 7.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.01412, allocations: 59.5 kB / 394.7 MB, free: 7.691 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.01418, allocations: 95.72 kB / 394.8 MB, free: 7.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.01423, allocations: 0.5039 MB / 395.3 MB, free: 7.074 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/0.01426, allocations: 32.97 kB / 395.4 MB, free: 7.043 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.01437, allocations: 419.7 kB / 395.8 MB, free: 6.453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.01457, allocations: 0.4944 MB / 396.3 MB, free: 5.781 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01457, allocations: 0 / 396.3 MB, free: 5.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002731/0.01485, allocations: 349.5 kB / 396.6 MB, free: 5.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.01486, allocations: 8 kB / 396.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.01487, allocations: 15.98 kB / 396.6 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.01488, allocations: 12 kB / 396.7 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.01505, allocations: 111.8 kB / 396.8 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.01506, allocations: 19.92 kB / 396.8 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.01517, allocations: 16 kB / 396.8 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.01519, allocations: 24 kB / 396.8 MB, free: 5.23 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 5.707e-05/0.01525, allocations: 192.6 kB / 397 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.01528, allocations: 23.86 kB / 397 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.01543, allocations: 143.8 kB / 397.2 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.01544, allocations: 8 kB / 397.2 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.01544, allocations: 0 / 397.2 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01544, allocations: 3.984 kB / 397.2 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.01568, allocations: 387.7 kB / 397.6 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01568, allocations: 0 / 397.6 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.01576, allocations: 36.05 kB / 397.6 MB, free: 4.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01576, allocations: 0 / 397.6 MB, free: 4.406 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.01576, allocations: 4 kB / 397.6 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01576, allocations: 0 / 397.6 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01577, allocations: 32 / 397.6 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.699e-05/0.01586, allocations: 267.4 kB / 397.9 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.01589, allocations: 19.89 kB / 397.9 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.01591, allocations: 15.94 kB / 397.9 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.222e-05/0.016, allocations: 4 kB / 397.9 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.01602, allocations: 19.91 kB / 397.9 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.01603, allocations: 4 kB / 397.9 MB, free: 4.055 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.139e-05/0.01607, allocations: 185.1 kB / 398.1 MB, free: 3.879 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01607, allocations: 0 / 398.1 MB, free: 3.879 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002843/0.01635, allocations: 103.8 kB / 398.2 MB, free: 3.777 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.0001783/0.01653, allocations: 171 kB / 398.4 MB, free: 3.602 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.0167, allocations: 162 kB / 398.5 MB, free: 3.441 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01671, allocations: 0 / 398.5 MB, free: 3.441 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.714e-05/0.01673, allocations: 47.41 kB / 398.6 MB, free: 3.395 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01702, allocations: 56.5 kB / 398.6 MB, free: 3.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000727/0.01774, allocations: 499.2 kB / 399.1 MB, free: 2.816 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.574e-05/0.01777, allocations: 72.33 kB / 399.2 MB, free: 2.727 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.01789, allocations: 57.14 kB / 399.3 MB, free: 2.672 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.01802, allocations: 146.1 kB / 399.4 MB, free: 2.527 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01802, allocations: 0 / 399.4 MB, free: 2.527 MB / 314.7 MB Notification: Performance of Templates: time 0.004661/0.02268, allocations: 3.879 MB / 403.3 MB, free: 14.71 MB / 330.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.3613644670695066]