Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009404/0.0009404, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009328/0.0009328, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.035/1.035, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2867/0.2867, allocations: 34.86 MB / 296.6 MB, free: 0.582 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.221e-05, allocations: 2.312 kB / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006519/0.006541, allocations: 5.119 MB / 383.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004153/0.01069, allocations: 4.672 MB / 388.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.01078, allocations: 0 / 388.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.01104, allocations: 51.61 kB / 388.6 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.01216, allocations: 0.7026 MB / 389.3 MB, free: 7.797 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.0124, allocations: 159.6 kB / 389.5 MB, free: 7.641 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000406/0.01281, allocations: 381.9 kB / 389.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.01286, allocations: 13.81 kB / 389.9 MB, free: 7.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.01307, allocations: 195.4 kB / 390.1 MB, free: 7.059 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.0132, allocations: 115.7 kB / 390.2 MB, free: 6.945 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.01322, allocations: 8 kB / 390.2 MB, free: 6.938 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004128/0.01363, allocations: 319.3 kB / 390.5 MB, free: 6.625 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.0137, allocations: 51.75 kB / 390.5 MB, free: 6.574 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.01378, allocations: 83.77 kB / 390.6 MB, free: 6.492 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.01427, allocations: 426.7 kB / 391 MB, free: 6.074 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01428, allocations: 8 kB / 391 MB, free: 6.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01428, allocations: 0 / 391 MB, free: 6.066 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.01429, allocations: 0 / 391 MB, free: 6.066 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.0007735/0.01506, allocations: 0.6167 MB / 391.7 MB, free: 5.414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.0151, allocations: 12.02 kB / 391.7 MB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.01525, allocations: 52.73 kB / 391.7 MB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.01546, allocations: 180.2 kB / 391.9 MB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.01558, allocations: 230.7 kB / 392.1 MB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.01561, allocations: 24.38 kB / 392.2 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.01598, allocations: 464 kB / 392.6 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.01599, allocations: 4.188 kB / 392.6 MB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.01601, allocations: 11.94 kB / 392.6 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.01604, allocations: 8 kB / 392.6 MB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.01643, allocations: 0.5255 MB / 393.2 MB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.0173, allocations: 1.331 MB / 394.5 MB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.01752, allocations: 135.3 kB / 394.6 MB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.01759, allocations: 59.66 kB / 394.7 MB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007919/0.01838, allocations: 0.7529 MB / 395.4 MB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.0184, allocations: 45.38 kB / 395.5 MB, free: 1.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.0184, allocations: 0 / 395.5 MB, free: 1.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004716/0.01887, allocations: 212.1 kB / 395.7 MB, free: 1.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.01891, allocations: 51.41 kB / 395.7 MB, free: 1.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.01909, allocations: 289.1 kB / 396 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.0191, allocations: 29.7 kB / 396 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.01922, allocations: 266.3 kB / 396.3 MB, free: 472 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.01925, allocations: 55.53 kB / 396.4 MB, free: 416 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/0.01933, allocations: 87.8 kB / 396.4 MB, free: 320 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.01949, allocations: 0.5078 MB / 396.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.381e-05/0.01954, allocations: 40.97 kB / 397 MB, free: 15.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.01978, allocations: 419.8 kB / 397.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.02012, allocations: 0.5022 MB / 397.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02012, allocations: 4 kB / 397.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000368/0.02049, allocations: 373.5 kB / 398.3 MB, free: 14.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.02051, allocations: 12 kB / 398.3 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.02052, allocations: 8 kB / 398.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.02054, allocations: 12 kB / 398.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.02075, allocations: 107.8 kB / 398.4 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.02077, allocations: 19.92 kB / 398.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.02089, allocations: 20 kB / 398.4 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.02091, allocations: 24 kB / 398.5 MB, free: 13.91 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.0001023/0.02102, allocations: 196.6 kB / 398.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.02105, allocations: 23.89 kB / 398.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.02128, allocations: 154.7 kB / 398.8 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.02129, allocations: 8 kB / 398.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.02129, allocations: 0 / 398.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.0213, allocations: 3.984 kB / 398.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.02165, allocations: 413 kB / 399.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.02165, allocations: 8 kB / 399.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.02174, allocations: 39.91 kB / 399.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.02174, allocations: 0 / 399.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.02175, allocations: 0 / 399.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.02175, allocations: 4 kB / 399.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.02175, allocations: 0 / 399.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.02192, allocations: 271 kB / 399.6 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.02195, allocations: 27.84 kB / 399.6 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.02197, allocations: 4 kB / 399.6 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.02207, allocations: 7.984 kB / 399.6 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.0221, allocations: 15.92 kB / 399.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.02211, allocations: 11.98 kB / 399.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.431e-05/0.02219, allocations: 185.1 kB / 399.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02219, allocations: 0 / 399.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000312/0.02251, allocations: 103.9 kB / 399.9 MB, free: 12.38 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.0002315/0.02274, allocations: 175 kB / 400.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.02295, allocations: 170 kB / 400.2 MB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.02295, allocations: 0.75 kB / 400.3 MB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/0.02299, allocations: 39.61 kB / 400.3 MB, free: 11.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.02327, allocations: 52.52 kB / 400.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.02428, allocations: 0.4951 MB / 400.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.494e-05/0.02432, allocations: 72.64 kB / 400.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.02446, allocations: 66.75 kB / 401 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.0245, allocations: 24.5 kB / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0245, allocations: 0 / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of Templates: time 0.005186/0.02969, allocations: 3.449 MB / 404.4 MB, free: 7.836 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3445725401397794]