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.002098/0.002098, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.003216/0.003216, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 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.526/1.526, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3407/0.3407, allocations: 34.24 MB / 295.2 MB, free: 0.6445 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.1.|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.1.|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.673e-06/1.673e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.617e-05, allocations: 2.312 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006902/0.006928, allocations: 4.683 MB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005614/0.01254, allocations: 4.095 MB / 386 MB, free: 10.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.01265, allocations: 4 kB / 386 MB, free: 10.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.01296, allocations: 51.61 kB / 386.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.01489, allocations: 0.7025 MB / 386.8 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.01534, allocations: 159.7 kB / 386.9 MB, free: 9.145 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000624/0.01597, allocations: 373.9 kB / 387.3 MB, free: 8.777 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.287e-05/0.01602, allocations: 17.72 kB / 387.3 MB, free: 8.758 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.01635, allocations: 195.5 kB / 387.5 MB, free: 8.566 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.01655, allocations: 119.6 kB / 387.6 MB, free: 8.449 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.01658, allocations: 8 kB / 387.6 MB, free: 8.441 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007009/0.01729, allocations: 323.4 kB / 387.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.164e-05/0.01738, allocations: 47.77 kB / 388 MB, free: 8.078 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.0175, allocations: 83.81 kB / 388.1 MB, free: 7.996 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007574/0.01826, allocations: 450.6 kB / 388.5 MB, free: 7.555 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.01827, allocations: 0 / 388.5 MB, free: 7.555 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01827, allocations: 0 / 388.5 MB, free: 7.555 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.01827, allocations: 0 / 388.5 MB, free: 7.555 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.00114/0.01941, allocations: 0.5168 MB / 389 MB, free: 7.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.01946, allocations: 12.03 kB / 389 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.01967, allocations: 56.72 kB / 389.1 MB, free: 6.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.02003, allocations: 169.5 kB / 389.3 MB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.02025, allocations: 226.7 kB / 389.5 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.02029, allocations: 24.38 kB / 389.5 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008492/0.02114, allocations: 0.5072 MB / 390 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.02115, allocations: 192 / 390 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.02119, allocations: 15.94 kB / 390 MB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.02122, allocations: 8 kB / 390 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009576/0.02218, allocations: 0.7236 MB / 390.8 MB, free: 5.133 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.02364, allocations: 1.042 MB / 391.8 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.02402, allocations: 133.8 kB / 391.9 MB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.02415, allocations: 68.83 kB / 392 MB, free: 3.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/0.02564, allocations: 0.6711 MB / 392.7 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.02568, allocations: 38.55 kB / 392.7 MB, free: 3.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.02568, allocations: 0 / 392.7 MB, free: 3.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007641/0.02645, allocations: 225.1 kB / 392.9 MB, free: 2.863 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.02649, allocations: 51.41 kB / 393 MB, free: 2.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.02675, allocations: 234.5 kB / 393.2 MB, free: 2.562 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.02678, allocations: 25.7 kB / 393.2 MB, free: 2.531 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.02697, allocations: 219.5 kB / 393.4 MB, free: 2.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.02702, allocations: 55.58 kB / 393.5 MB, free: 2.258 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.02714, allocations: 82.09 kB / 393.6 MB, free: 2.172 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.02733, allocations: 330.8 kB / 393.9 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.02743, allocations: 56.95 kB / 394 MB, free: 1.785 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.02779, allocations: 309 kB / 394.3 MB, free: 1.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.0283, allocations: 403.5 kB / 394.7 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.02831, allocations: 4 kB / 394.7 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006663/0.02897, allocations: 397.3 kB / 395 MB, free: 440 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.029, allocations: 8 kB / 395.1 MB, free: 432 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.02901, allocations: 8 kB / 395.1 MB, free: 424 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/0.02904, allocations: 12 kB / 395.1 MB, free: 412 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.02942, allocations: 115.8 kB / 395.2 MB, free: 296 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.02944, allocations: 16.44 kB / 395.2 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.02968, allocations: 20 kB / 395.2 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.02973, allocations: 31.98 kB / 395.3 MB, free: 228 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.0001633/0.0299, allocations: 149.6 kB / 395.4 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.02996, allocations: 23.86 kB / 395.4 MB, free: 44 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.03034, allocations: 166.8 kB / 395.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.03035, allocations: 3.938 kB / 395.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.03035, allocations: 128 / 395.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.03035, allocations: 3.938 kB / 395.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.03097, allocations: 378.2 kB / 396 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.03097, allocations: 0 / 396 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.03114, allocations: 31.92 kB / 396 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.03115, allocations: 0 / 396 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.03116, allocations: 11.98 kB / 396 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.03116, allocations: 4.031 kB / 396 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.03116, allocations: 0 / 396 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.03145, allocations: 216.2 kB / 396.2 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.03153, allocations: 31.84 kB / 396.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.03156, allocations: 3.984 kB / 396.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.03178, allocations: 11.98 kB / 396.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.03181, allocations: 15.86 kB / 396.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.03183, allocations: 11.98 kB / 396.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001534/0.03198, allocations: 149.2 kB / 396.4 MB, free: 14.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03198, allocations: 0 / 396.4 MB, free: 14.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006399/0.03262, allocations: 107.9 kB / 396.5 MB, free: 14.86 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.0003442/0.03297, allocations: 163.1 kB / 396.7 MB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.03331, allocations: 173.9 kB / 396.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.03332, allocations: 8.125 kB / 396.9 MB, free: 14.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.167e-05/0.03338, allocations: 31.92 kB / 396.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.03388, allocations: 56.42 kB / 397 MB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.03493, allocations: 490.6 kB / 397.4 MB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.03508, allocations: 124.8 kB / 397.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.03529, allocations: 58.78 kB / 397.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.03536, allocations: 24.5 kB / 397.7 MB, free: 13.69 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03536, allocations: 4 kB / 397.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of Templates: time 0.008267/0.04363, allocations: 3.452 MB / 401.1 MB, free: 10.28 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",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: 5.0223008340690285]