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.001172/0.001172, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.00097/0.00097, allocations: 156.5 kB / 24.55 MB, free: 20 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.026/1.026, allocations: 177 MB / 204.8 MB, free: 5.59 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.2783/0.2783, allocations: 34.86 MB / 296.3 MB, free: 476 kB / 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.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.[0-9,]+.|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.[0-9,]+.|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 1.603e-06/1.603e-06, allocations: 0 / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.677e-05, allocations: 3.016 kB / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004431/0.004448, allocations: 4.717 MB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003172/0.00762, allocations: 4.131 MB / 387.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.693e-05/0.007707, allocations: 4 kB / 387.6 MB, free: 9.133 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.007867, allocations: 59.59 kB / 387.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.009718, allocations: 0.804 MB / 388.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.009965, allocations: 147.6 kB / 388.7 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.01039, allocations: 393.9 kB / 389 MB, free: 7.734 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.778e-05/0.01042, allocations: 13.81 kB / 389 MB, free: 7.719 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.01059, allocations: 203.4 kB / 389.2 MB, free: 7.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.01077, allocations: 135.7 kB / 389.4 MB, free: 7.387 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.01079, allocations: 8 kB / 389.4 MB, free: 7.379 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006707/0.01146, allocations: 407.2 kB / 389.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.01153, allocations: 47.75 kB / 389.8 MB, free: 6.934 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.963e-05/0.01161, allocations: 83.84 kB / 389.9 MB, free: 6.852 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.01221, allocations: 462.6 kB / 390.4 MB, free: 6.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01221, allocations: 4 kB / 390.4 MB, free: 6.395 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01221, allocations: 0 / 390.4 MB, free: 6.395 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.01222, allocations: 3.938 kB / 390.4 MB, free: 6.391 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.0007612/0.01298, allocations: 0.6362 MB / 391 MB, free: 5.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.01301, allocations: 8.031 kB / 391 MB, free: 5.711 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.01316, allocations: 48.78 kB / 391.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.01334, allocations: 176.2 kB / 391.2 MB, free: 5.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.01346, allocations: 226.7 kB / 391.5 MB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.01349, allocations: 28.38 kB / 391.5 MB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.01385, allocations: 438.3 kB / 391.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.01386, allocations: 192 / 391.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.01388, allocations: 15.94 kB / 391.9 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.0139, allocations: 12 kB / 391.9 MB, free: 4.637 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.01429, allocations: 0.5255 MB / 392.5 MB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009254/0.01522, allocations: 1.335 MB / 393.8 MB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.01546, allocations: 140.2 kB / 393.9 MB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.01553, allocations: 64.31 kB / 394 MB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009136/0.01645, allocations: 0.8284 MB / 394.8 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.01647, allocations: 37.39 kB / 394.9 MB, free: 1.598 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 9.61e-07/0.01647, allocations: 0 / 394.9 MB, free: 1.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001969/0.01667, allocations: 117.4 kB / 395 MB, free: 1.477 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.01669, allocations: 51.41 kB / 395 MB, free: 1.414 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.01703, allocations: 302.3 kB / 395.3 MB, free: 1.102 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.01705, allocations: 25.7 kB / 395.4 MB, free: 1.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.01715, allocations: 278.2 kB / 395.6 MB, free: 0.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.01718, allocations: 43.69 kB / 395.7 MB, free: 0.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/0.01725, allocations: 91.75 kB / 395.8 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.01737, allocations: 0.5 MB / 396.3 MB, free: 144 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.01742, allocations: 40.97 kB / 396.3 MB, free: 104 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.01768, allocations: 471.9 kB / 396.8 MB, free: 15.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.01803, allocations: 0.5511 MB / 397.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01804, allocations: 4 kB / 397.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003789/0.01841, allocations: 385.6 kB / 397.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.01843, allocations: 18.89 kB / 397.7 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.01844, allocations: 15.94 kB / 397.7 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.01846, allocations: 12 kB / 397.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.0186, allocations: 91.84 kB / 397.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.01861, allocations: 23.92 kB / 397.8 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.01875, allocations: 55.62 kB / 397.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.01877, allocations: 31.94 kB / 397.9 MB, free: 14.05 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 8.65e-05/0.01885, allocations: 192.3 kB / 398.1 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.01889, allocations: 31.8 kB / 398.2 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.01907, allocations: 146.2 kB / 398.3 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.01907, allocations: 0 / 398.3 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.01907, allocations: 0 / 398.3 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01908, allocations: 0 / 398.3 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.01937, allocations: 416.2 kB / 398.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01937, allocations: 0 / 398.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.0194, allocations: 20.05 kB / 398.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.01941, allocations: 4 kB / 398.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.01941, allocations: 4 kB / 398.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.01942, allocations: 3.938 kB / 398.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.01942, allocations: 7.938 kB / 398.7 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.01957, allocations: 254.8 kB / 399 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.0196, allocations: 23.83 kB / 399 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.01962, allocations: 12.05 kB / 399 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.01969, allocations: 7.938 kB / 399 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.01971, allocations: 7.984 kB / 399 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.01972, allocations: 4 kB / 399 MB, free: 12.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.495e-05/0.01981, allocations: 193.1 kB / 399.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01981, allocations: 0 / 399.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003662/0.02018, allocations: 99.86 kB / 399.3 MB, free: 12.55 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.000181/0.02036, allocations: 155.3 kB / 399.5 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.02056, allocations: 175 kB / 399.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.02056, allocations: 0 / 399.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.02059, allocations: 28.23 kB / 399.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.02084, allocations: 48.53 kB / 399.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008736/0.02171, allocations: 0.5297 MB / 400.3 MB, free: 11.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.748e-05/0.02176, allocations: 80.25 kB / 400.3 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000133/0.02189, allocations: 54.92 kB / 400.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.02193, allocations: 28.5 kB / 400.4 MB, free: 11.39 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02193, allocations: 0 / 400.4 MB, free: 11.39 MB / 378.7 MB Notification: Performance of Templates: time 0.004891/0.02682, allocations: 3.468 MB / 403.9 MB, free: 7.973 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","",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: 3.1739974613301456]