Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.002414/0.002414, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002519/0.002519, allocations: 160.8 kB / 24.27 MB, free: 156 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.735/1.735, allocations: 177 MB / 204.5 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.3839/0.3839, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.618e-05/3.834e-05, allocations: 2.312 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007602/0.00764, allocations: 4.665 MB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006144/0.01378, allocations: 4.095 MB / 386 MB, free: 10.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.01394, allocations: 0 / 386 MB, free: 10.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.01427, allocations: 51.61 kB / 386.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.01685, allocations: 0.7648 MB / 386.8 MB, free: 9.242 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.01727, allocations: 135.7 kB / 386.9 MB, free: 9.109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007155/0.01798, allocations: 385.9 kB / 387.3 MB, free: 8.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/0.01803, allocations: 5.812 kB / 387.3 MB, free: 8.723 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.01839, allocations: 195.4 kB / 387.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.01875, allocations: 135.7 kB / 387.7 MB, free: 8.398 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.0188, allocations: 8 kB / 387.7 MB, free: 8.391 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.02026, allocations: 383.2 kB / 388 MB, free: 8.016 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.02037, allocations: 47.77 kB / 388.1 MB, free: 7.969 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.02051, allocations: 83.81 kB / 388.2 MB, free: 7.887 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009661/0.02148, allocations: 486.5 kB / 388.6 MB, free: 7.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.02148, allocations: 0 / 388.6 MB, free: 7.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02148, allocations: 0 / 388.6 MB, free: 7.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.02149, allocations: 0 / 388.6 MB, free: 7.41 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.001318/0.02281, allocations: 0.632 MB / 389.3 MB, free: 6.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.02285, allocations: 8.031 kB / 389.3 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.02309, allocations: 56.72 kB / 389.3 MB, free: 6.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.02341, allocations: 180.2 kB / 389.5 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.02365, allocations: 234.6 kB / 389.7 MB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.0237, allocations: 20.38 kB / 389.8 MB, free: 6.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.02435, allocations: 441.6 kB / 390.2 MB, free: 5.676 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.02437, allocations: 8.125 kB / 390.2 MB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.0244, allocations: 15.94 kB / 390.2 MB, free: 5.652 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.02443, allocations: 4 kB / 390.2 MB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008802/0.02531, allocations: 0.5988 MB / 390.8 MB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.02719, allocations: 1.351 MB / 392.2 MB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.02761, allocations: 156.2 kB / 392.3 MB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.02776, allocations: 80.31 kB / 392.4 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001909/0.02967, allocations: 0.8362 MB / 393.2 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.0297, allocations: 33.39 kB / 393.3 MB, free: 2.484 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.0297, allocations: 0 / 393.3 MB, free: 2.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003507/0.03006, allocations: 121.4 kB / 393.4 MB, free: 2.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.03011, allocations: 51.41 kB / 393.4 MB, free: 2.297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.03046, allocations: 310.4 kB / 393.7 MB, free: 1.977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.03065, allocations: 29.7 kB / 393.8 MB, free: 1.941 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.03088, allocations: 278.2 kB / 394 MB, free: 1.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.03092, allocations: 43.67 kB / 394.1 MB, free: 1.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.03105, allocations: 95.75 kB / 394.2 MB, free: 1.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003036/0.03136, allocations: 0.5079 MB / 394.7 MB, free: 1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.03145, allocations: 44.97 kB / 394.7 MB, free: 0.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.03198, allocations: 479.9 kB / 395.2 MB, free: 292 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007698/0.03275, allocations: 0.5707 MB / 395.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.457e-06/0.03276, allocations: 4 kB / 395.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006969/0.03346, allocations: 397.8 kB / 396.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.03349, allocations: 12 kB / 396.2 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.03351, allocations: 8 kB / 396.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.43e-05/0.03354, allocations: 16 kB / 396.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.03382, allocations: 99.83 kB / 396.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.59e-05/0.03385, allocations: 27.86 kB / 396.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.03412, allocations: 47.62 kB / 396.4 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.03416, allocations: 31.94 kB / 396.4 MB, free: 14.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.000248/0.03441, allocations: 200.3 kB / 396.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.03448, allocations: 27.86 kB / 396.6 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003439/0.03483, allocations: 146.4 kB / 396.8 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.03484, allocations: 0 / 396.8 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.03484, allocations: 0 / 396.8 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.03485, allocations: 0 / 396.8 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006328/0.03548, allocations: 424.2 kB / 397.2 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.03549, allocations: 8 kB / 397.2 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.03555, allocations: 11.94 kB / 397.2 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.03555, allocations: 4 kB / 397.2 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.03556, allocations: 4 kB / 397.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.03557, allocations: 11.86 kB / 397.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.03558, allocations: 4 kB / 397.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.03588, allocations: 266.8 kB / 397.5 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.03594, allocations: 19.98 kB / 397.5 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.03598, allocations: 11.89 kB / 397.5 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.03613, allocations: 7.938 kB / 397.5 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.03616, allocations: 11.98 kB / 397.5 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.03618, allocations: 4 kB / 397.5 MB, free: 13.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002069/0.03638, allocations: 201.1 kB / 397.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03638, allocations: 0 / 397.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005067/0.03689, allocations: 91.88 kB / 397.8 MB, free: 13.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0003441/0.03723, allocations: 163.1 kB / 398 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003705/0.0376, allocations: 183.2 kB / 398.2 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.03761, allocations: 384 / 398.2 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.135e-05/0.03766, allocations: 31.61 kB / 398.2 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.03809, allocations: 48.45 kB / 398.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.03916, allocations: 0.5264 MB / 398.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.0393, allocations: 112.6 kB / 398.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001741/0.03947, allocations: 54.88 kB / 398.9 MB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.03952, allocations: 28.48 kB / 399 MB, free: 12.13 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03952, allocations: 0 / 399 MB, free: 12.13 MB / 378.7 MB Notification: Performance of Templates: time 0.008661/0.04819, allocations: 3.106 MB / 402.1 MB, free: 9.074 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.461213930975646]