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.0009064/0.0009064, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004719/0.004719, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8872/0.8872, allocations: 177.2 MB / 205 MB, free: 5.723 MB / 186.7 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.2689/0.2689, allocations: 32.79 MB / 294.2 MB, free: 1.215 MB / 266.7 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.733e-06/1.733e-06, allocations: 0 / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.062e-05, allocations: 6.281 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.1915/0.1915, allocations: 4.297 MB / 445.2 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1938, allocations: 3.59 MB / 448.8 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.1939, allocations: 6.781 kB / 448.8 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.1942, allocations: 49.59 kB / 448.8 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.1954, allocations: 0.7712 MB / 449.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.1957, allocations: 130.2 kB / 449.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.196, allocations: 389.8 kB / 450.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.1961, allocations: 10.84 kB / 450.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1962, allocations: 187.6 kB / 450.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.1964, allocations: 141.1 kB / 450.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1964, allocations: 8.375 kB / 450.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.1969, allocations: 381.5 kB / 450.8 MB, free: 41.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.197, allocations: 51.08 kB / 450.9 MB, free: 41.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.197, allocations: 79.55 kB / 450.9 MB, free: 41.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.1975, allocations: 487.6 kB / 451.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1975, allocations: 2.938 kB / 451.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1975, allocations: 0 / 451.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1975, allocations: 4 kB / 451.4 MB, free: 41.68 MB / 410.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.0007306/0.1982, allocations: 0.5257 MB / 451.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1983, allocations: 10.12 kB / 452 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1984, allocations: 22.84 kB / 452 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.1986, allocations: 172.1 kB / 452.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.271e-05/0.1987, allocations: 233.4 kB / 452.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.1987, allocations: 22.22 kB / 452.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.1991, allocations: 489.8 kB / 452.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1991, allocations: 384 / 452.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.1991, allocations: 14.84 kB / 452.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.1991, allocations: 11.95 kB / 452.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.1995, allocations: 0.7152 MB / 453.6 MB, free: 40.42 MB / 410.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.0007844/0.2003, allocations: 1.047 MB / 454.7 MB, free: 39.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.2006, allocations: 151.3 kB / 454.8 MB, free: 39.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.325e-05/0.2007, allocations: 77.42 kB / 454.9 MB, free: 39.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007995/0.2015, allocations: 0.72 MB / 455.6 MB, free: 39.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.2015, allocations: 37.56 kB / 455.6 MB, free: 39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.2015, allocations: 3.938 kB / 455.7 MB, free: 39 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001989/0.2017, allocations: 112.6 kB / 455.8 MB, free: 38.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.2017, allocations: 54.62 kB / 455.8 MB, free: 38.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2018, allocations: 238.3 kB / 456 MB, free: 38.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.2018, allocations: 40.78 kB / 456.1 MB, free: 38.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.2019, allocations: 217.5 kB / 456.3 MB, free: 38.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.2019, allocations: 52.62 kB / 456.4 MB, free: 38.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.2019, allocations: 81.77 kB / 456.4 MB, free: 38.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.485e-05/0.202, allocations: 336.5 kB / 456.8 MB, free: 38.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.202, allocations: 45.78 kB / 456.8 MB, free: 38.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.2021, allocations: 339.9 kB / 457.1 MB, free: 37.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.2023, allocations: 451.2 kB / 457.6 MB, free: 37.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2023, allocations: 3.219 kB / 457.6 MB, free: 37.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002968/0.2026, allocations: 385.8 kB / 458 MB, free: 37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2027, allocations: 9.656 kB / 458 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.2027, allocations: 9.125 kB / 458 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2027, allocations: 13 kB / 458 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.2028, allocations: 99.12 kB / 458.1 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2028, allocations: 22.98 kB / 458.1 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.2029, allocations: 55.38 kB / 458.2 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.203, allocations: 30.12 kB / 458.2 MB, free: 36.94 MB / 410.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 6.641e-05/0.203, allocations: 161.7 kB / 458.3 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.203, allocations: 21.3 kB / 458.4 MB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.2032, allocations: 145.1 kB / 458.5 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.2032, allocations: 3.234 kB / 458.5 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2032, allocations: 3.312 kB / 458.5 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2032, allocations: 0 / 458.5 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.2035, allocations: 350.9 kB / 458.9 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2035, allocations: 3.234 kB / 458.9 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.2035, allocations: 12.88 kB / 458.9 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2035, allocations: 3.938 kB / 458.9 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.2035, allocations: 3.125 kB / 458.9 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2035, allocations: 4.094 kB / 458.9 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2035, allocations: 7.094 kB / 458.9 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.063e-05/0.2036, allocations: 202.9 kB / 459.1 MB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.2036, allocations: 18.33 kB / 459.1 MB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.2037, allocations: 11.17 kB / 459.1 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.2037, allocations: 8.172 kB / 459.1 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.2037, allocations: 10.69 kB / 459.1 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.2038, allocations: 3.312 kB / 459.1 MB, free: 36.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.968e-05/0.2038, allocations: 155.3 kB / 459.3 MB, free: 36.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2038, allocations: 0 / 459.3 MB, free: 36.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.2041, allocations: 99.83 kB / 459.4 MB, free: 36.05 MB / 410.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.0002254/0.2044, allocations: 167.4 kB / 459.6 MB, free: 35.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.2045, allocations: 166.6 kB / 459.7 MB, free: 35.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2045, allocations: 0 / 459.7 MB, free: 35.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.2046, allocations: 27.14 kB / 459.7 MB, free: 35.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.2048, allocations: 45.31 kB / 459.8 MB, free: 35.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006356/0.2055, allocations: 0.5382 MB / 460.3 MB, free: 35.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.739e-05/0.2055, allocations: 115.7 kB / 460.4 MB, free: 35.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.2056, allocations: 35.09 kB / 460.5 MB, free: 35.41 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2056, allocations: 0 / 460.5 MB, free: 35.41 MB / 410.7 MB Notification: Performance of Templates: time 0.003385/0.209, allocations: 3.469 MB / 463.9 MB, free: 35.03 MB / 410.7 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.711792532354593]