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.001172/0.001172, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001359/0.001359, allocations: 159.4 kB / 25.61 MB, free: 8.582 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 0.9377/0.9377, allocations: 177 MB / 205.9 MB, free: 4.457 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.1903/0.1903, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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.703e-06/1.703e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.451e-05, allocations: 3.859 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004954/0.004979, allocations: 5.092 MB / 385.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.008545, allocations: 4.66 MB / 389.8 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.008691, allocations: 0 / 389.8 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.008971, allocations: 51.61 kB / 389.8 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.01055, allocations: 0.7221 MB / 390.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.01086, allocations: 167.6 kB / 390.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004425/0.0113, allocations: 397.7 kB / 391.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.01135, allocations: 9.812 kB / 391.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.01159, allocations: 203.4 kB / 391.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.01175, allocations: 115.7 kB / 391.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.01177, allocations: 12 kB / 391.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006722/0.01244, allocations: 331.3 kB / 391.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.039e-05/0.01251, allocations: 43.77 kB / 391.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.0126, allocations: 83.83 kB / 391.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005995/0.0132, allocations: 434.6 kB / 392.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.0132, allocations: 0 / 392.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.01321, allocations: 0 / 392.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.01321, allocations: 0 / 392.3 MB, free: 10.38 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.000717/0.01393, allocations: 0.6245 MB / 392.9 MB, free: 9.723 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.01396, allocations: 12.03 kB / 393 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.01412, allocations: 48.73 kB / 393 MB, free: 9.664 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.01431, allocations: 176.2 kB / 393.2 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.503e-05/0.01439, allocations: 226.7 kB / 393.4 MB, free: 9.195 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.01442, allocations: 20.38 kB / 393.4 MB, free: 9.176 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.01473, allocations: 455.9 kB / 393.9 MB, free: 8.645 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.01474, allocations: 192 / 393.9 MB, free: 8.645 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.01477, allocations: 19.94 kB / 393.9 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.01479, allocations: 8 kB / 393.9 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.01516, allocations: 460.7 kB / 394.3 MB, free: 8.168 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008154/0.01598, allocations: 1.324 MB / 395.7 MB, free: 6.785 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.01618, allocations: 123.3 kB / 395.8 MB, free: 6.652 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/0.01623, allocations: 55.41 kB / 395.8 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008727/0.01711, allocations: 0.749 MB / 396.6 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.01714, allocations: 33.39 kB / 396.6 MB, free: 5.781 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.475e-06/0.01714, allocations: 0 / 396.6 MB, free: 5.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005167/0.01766, allocations: 192.7 kB / 396.8 MB, free: 5.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.01768, allocations: 59.41 kB / 396.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.01782, allocations: 293 kB / 397.1 MB, free: 5.215 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.01783, allocations: 25.7 kB / 397.2 MB, free: 5.184 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.01791, allocations: 258.3 kB / 397.4 MB, free: 4.926 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.01794, allocations: 63.5 kB / 397.5 MB, free: 4.863 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.01802, allocations: 95.72 kB / 397.6 MB, free: 4.762 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.724e-05/0.01807, allocations: 0.5039 MB / 398.1 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/0.01811, allocations: 28.97 kB / 398.1 MB, free: 4.219 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.01826, allocations: 415.7 kB / 398.5 MB, free: 3.637 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.01854, allocations: 0.4944 MB / 399 MB, free: 2.965 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01854, allocations: 4 kB / 399 MB, free: 2.961 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003778/0.01892, allocations: 349.7 kB / 399.4 MB, free: 2.613 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.01894, allocations: 9.562 kB / 399.4 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.01895, allocations: 8 kB / 399.4 MB, free: 2.598 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.01897, allocations: 24.02 kB / 399.4 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.01921, allocations: 103.8 kB / 399.5 MB, free: 2.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.01922, allocations: 19.92 kB / 399.5 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.0194, allocations: 16 kB / 399.5 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.01942, allocations: 27.94 kB / 399.6 MB, free: 2.41 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 7.534e-05/0.0195, allocations: 192.3 kB / 399.8 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.01954, allocations: 27.86 kB / 399.8 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.01974, allocations: 138.4 kB / 399.9 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.01975, allocations: 4 kB / 399.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01975, allocations: 0 / 399.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01975, allocations: 0 / 399.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.02008, allocations: 389.5 kB / 400.3 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02008, allocations: 4.031 kB / 400.3 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.02018, allocations: 31.98 kB / 400.3 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.02019, allocations: 3.938 kB / 400.3 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.02019, allocations: 3.984 kB / 400.3 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.0202, allocations: 4 kB / 400.3 MB, free: 1.578 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.0202, allocations: 0 / 400.3 MB, free: 1.578 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.02033, allocations: 259.4 kB / 400.6 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.02037, allocations: 27.88 kB / 400.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.02039, allocations: 7.953 kB / 400.6 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.02052, allocations: 12 kB / 400.6 MB, free: 1.254 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.02054, allocations: 11.97 kB / 400.7 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.02055, allocations: 8 kB / 400.7 MB, free: 1.234 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.271e-05/0.02062, allocations: 185.1 kB / 400.8 MB, free: 1.055 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02062, allocations: 0 / 400.8 MB, free: 1.055 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004254/0.02104, allocations: 95.81 kB / 400.9 MB, free: 0.9609 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.0002219/0.02126, allocations: 170.9 kB / 401.1 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.02148, allocations: 165.7 kB / 401.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02148, allocations: 0 / 401.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.02152, allocations: 42.47 kB / 401.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.02189, allocations: 69.81 kB / 401.4 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009035/0.02279, allocations: 487.2 kB / 401.9 MB, free: 0 / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.455e-05/0.02287, allocations: 76.33 kB / 401.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.02303, allocations: 59.81 kB / 402 MB, free: 15.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.02321, allocations: 146.1 kB / 402.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02321, allocations: 0 / 402.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of Templates: time 0.006806/0.03002, allocations: 3.862 MB / 406 MB, free: 11.94 MB / 330.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.52168066194281]