Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.391/1.391, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2132/0.2132, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 440.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.926e-05, allocations: 2.281 kB / 440.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005883/0.005902, allocations: 4.303 MB / 444.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004485/0.01039, allocations: 3.589 MB / 448 MB, free: 192 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.01052, allocations: 0 / 448 MB, free: 192 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.01077, allocations: 55.59 kB / 448.1 MB, free: 136 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1726/0.1834, allocations: 0.752 MB / 448.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.1837, allocations: 140.9 kB / 449 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005109/0.1843, allocations: 379.5 kB / 449.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.1843, allocations: 11.34 kB / 449.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.1846, allocations: 193.5 kB / 449.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.1848, allocations: 130 kB / 449.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.1849, allocations: 12.06 kB / 449.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.1859, allocations: 390.9 kB / 450.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.933e-05/0.186, allocations: 47.55 kB / 450.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.1861, allocations: 84.56 kB / 450.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008021/0.1869, allocations: 487 kB / 450.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1869, allocations: 1.141 kB / 450.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1869, allocations: 3.344 kB / 450.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1869, allocations: 0 / 450.7 MB, free: 15.13 MB / 366.1 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.001124/0.1881, allocations: 0.5293 MB / 451.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1881, allocations: 12.56 kB / 451.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.1883, allocations: 26.09 kB / 451.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.1885, allocations: 171.1 kB / 451.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.1887, allocations: 228.4 kB / 451.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.1887, allocations: 24.66 kB / 451.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.1893, allocations: 488.2 kB / 452.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1893, allocations: 1.75 kB / 452.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.1894, allocations: 14.25 kB / 452.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.1894, allocations: 15.56 kB / 452.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.1906, allocations: 0.7138 MB / 452.9 MB, free: 14.09 MB / 366.1 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.00125/0.1919, allocations: 1.038 MB / 453.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.1922, allocations: 150.7 kB / 454 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.1924, allocations: 77.86 kB / 454.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001605/0.194, allocations: 0.726 MB / 454.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.194, allocations: 34.47 kB / 454.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.194, allocations: 5.031 kB / 454.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003198/0.1943, allocations: 118.8 kB / 455 MB, free: 12.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.1943, allocations: 56.83 kB / 455.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.1945, allocations: 233.6 kB / 455.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1945, allocations: 33.39 kB / 455.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.1946, allocations: 221.1 kB / 455.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1946, allocations: 46.08 kB / 455.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.315e-05/0.1947, allocations: 85.88 kB / 455.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.1948, allocations: 333.6 kB / 456 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.909e-05/0.1949, allocations: 48.5 kB / 456 MB, free: 12.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.195, allocations: 341.1 kB / 456.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.1954, allocations: 448.4 kB / 456.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1954, allocations: 2.938 kB / 456.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005203/0.1959, allocations: 383.2 kB / 457.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1959, allocations: 11 kB / 457.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.1959, allocations: 9.312 kB / 457.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.1959, allocations: 19.12 kB / 457.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.1962, allocations: 101.4 kB / 457.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/0.1962, allocations: 20.34 kB / 457.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.1964, allocations: 53.2 kB / 457.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.1965, allocations: 32.45 kB / 457.4 MB, free: 11.32 MB / 366.1 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.0001016/0.1966, allocations: 153.8 kB / 457.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.1966, allocations: 22.42 kB / 457.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.1969, allocations: 150.1 kB / 457.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.1969, allocations: 1.906 kB / 457.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1969, allocations: 1.344 kB / 457.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1969, allocations: 0.75 kB / 457.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.1973, allocations: 353 kB / 458.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1973, allocations: 6 kB / 458.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.1974, allocations: 16.69 kB / 458.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1974, allocations: 1.609 kB / 458.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1974, allocations: 1.594 kB / 458.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1974, allocations: 2.234 kB / 458.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1974, allocations: 9.219 kB / 458.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.1975, allocations: 202.8 kB / 458.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.1976, allocations: 17.73 kB / 458.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.1976, allocations: 15.2 kB / 458.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1978, allocations: 5.078 kB / 458.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.1978, allocations: 17.47 kB / 458.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1978, allocations: 4.875 kB / 458.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1979, allocations: 155 kB / 458.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1979, allocations: 1.188 kB / 458.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005219/0.1984, allocations: 94.36 kB / 458.6 MB, free: 10.58 MB / 366.1 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.0002747/0.1987, allocations: 161 kB / 458.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.199, allocations: 166.5 kB / 459 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.199, allocations: 0 / 459 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.199, allocations: 23.45 kB / 459 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.1995, allocations: 52.16 kB / 459 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008352/0.2003, allocations: 0.4987 MB / 459.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.524e-05/0.2004, allocations: 112.6 kB / 459.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.2006, allocations: 51.02 kB / 459.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.2006, allocations: 28.97 kB / 459.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2006, allocations: 0 / 459.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of Templates: time 0.007674/0.2083, allocations: 3.1 MB / 462.8 MB, free: 9.695 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.78719324991107]