Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002336/0.002336, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.002913/0.002913, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.667/1.667, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2606/0.2606, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 75.83 kB / 0.4914 GB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1618, allocations: 65.99 MB / 0.5559 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007412/0.1692, allocations: 4.622 MB / 0.5604 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005307/0.1745, allocations: 4.018 MB / 0.5643 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.1746, allocations: 0 / 0.5643 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.175, allocations: 51.66 kB / 0.5644 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.1773, allocations: 0.7305 MB / 0.5651 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.1776, allocations: 135 kB / 0.5652 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006216/0.1782, allocations: 382.1 kB / 0.5656 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.1783, allocations: 5.688 kB / 0.5656 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.1785, allocations: 151.4 kB / 0.5657 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.1788, allocations: 151.5 kB / 0.5659 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.1788, allocations: 8 kB / 0.5659 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.18, allocations: 439.4 kB / 0.5663 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.403e-05/0.1801, allocations: 55.75 kB / 0.5664 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.1802, allocations: 107.5 kB / 0.5665 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008732/0.1811, allocations: 462.5 kB / 0.5669 GB, free: 9.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1811, allocations: 3.984 kB / 0.5669 GB, free: 9.977 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1811, allocations: 3.938 kB / 0.5669 GB, free: 9.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.1811, allocations: 0 / 0.5669 GB, free: 9.973 MB / 430.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.001346/0.1824, allocations: 0.6039 MB / 0.5675 GB, free: 9.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1825, allocations: 11.97 kB / 0.5675 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.1826, allocations: 24.84 kB / 0.5675 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.183, allocations: 224.1 kB / 0.5677 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.1831, allocations: 123.9 kB / 0.5679 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.1832, allocations: 24.38 kB / 0.5679 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/0.1838, allocations: 327.6 kB / 0.5682 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1838, allocations: 0 / 0.5682 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.1838, allocations: 11.98 kB / 0.5682 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.1839, allocations: 15.98 kB / 0.5682 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009599/0.1848, allocations: 0.7351 MB / 0.5689 GB, free: 7.746 MB / 430.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.00167/0.1865, allocations: 1.312 MB / 0.5702 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.1869, allocations: 147.8 kB / 0.5704 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.1871, allocations: 77.42 kB / 0.5704 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003119/0.1902, allocations: 2.814 MB / 0.5732 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.1902, allocations: 34.56 kB / 0.5732 GB, free: 2.699 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.1902, allocations: 0 / 0.5732 GB, free: 2.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003469/0.1906, allocations: 125.3 kB / 0.5733 GB, free: 2.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.1906, allocations: 55.41 kB / 0.5734 GB, free: 2.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.1909, allocations: 223.9 kB / 0.5736 GB, free: 2.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1909, allocations: 37.69 kB / 0.5736 GB, free: 2.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1911, allocations: 211.5 kB / 0.5738 GB, free: 2.023 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.1911, allocations: 55.62 kB / 0.5739 GB, free: 1.969 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.1912, allocations: 82.08 kB / 0.574 GB, free: 1.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1914, allocations: 326.8 kB / 0.5743 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.4e-05/0.1915, allocations: 48.83 kB / 0.5743 GB, free: 1.504 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.1918, allocations: 339.3 kB / 0.5747 GB, free: 1.031 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/0.1924, allocations: 448.5 kB / 0.5751 GB, free: 456 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.1924, allocations: 4 kB / 0.5751 GB, free: 452 kB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006044/0.193, allocations: 389.8 kB / 0.5755 GB, free: 56 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.193, allocations: 8 kB / 0.5755 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.193, allocations: 16.09 kB / 0.5755 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.193, allocations: 15.94 kB / 0.5755 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.1934, allocations: 99.83 kB / 0.5756 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/0.1934, allocations: 19.92 kB / 0.5756 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.1936, allocations: 63.5 kB / 0.5757 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.1937, allocations: 28 kB / 0.5757 GB, free: 15.81 MB / 446.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.0001417/0.1938, allocations: 147.8 kB / 0.5758 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.1939, allocations: 19.91 kB / 0.5759 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.1942, allocations: 144.5 kB / 0.576 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.1942, allocations: 3.938 kB / 0.576 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1942, allocations: 96 / 0.576 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1942, allocations: 3.938 kB / 0.576 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.1947, allocations: 412.9 kB / 0.5764 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1947, allocations: 0 / 0.5764 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.1948, allocations: 15.94 kB / 0.5764 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1948, allocations: 4 kB / 0.5764 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1948, allocations: 7.938 kB / 0.5764 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.1948, allocations: 4.062 kB / 0.5764 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1948, allocations: 4 kB / 0.5764 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.195, allocations: 209.9 kB / 0.5766 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1951, allocations: 100.9 kB / 0.5767 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.1952, allocations: 3.953 kB / 0.5767 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.1953, allocations: 8 kB / 0.5767 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.1954, allocations: 11.98 kB / 0.5767 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1954, allocations: 4 kB / 0.5768 GB, free: 14.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.1955, allocations: 156.5 kB / 0.5769 GB, free: 14.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1955, allocations: 0 / 0.5769 GB, free: 14.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005297/0.1961, allocations: 91.88 kB / 0.577 GB, free: 14.35 MB / 446.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.0003001/0.1964, allocations: 155.1 kB / 0.5771 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003636/0.1967, allocations: 169.5 kB / 0.5773 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1967, allocations: 0.9375 kB / 0.5773 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.1968, allocations: 20.06 kB / 0.5773 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.1972, allocations: 52.36 kB / 0.5774 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1983, allocations: 0.5382 MB / 0.5779 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.1987, allocations: 0.7206 MB / 0.5786 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.1989, allocations: 55.27 kB / 0.5787 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.1989, allocations: 23.44 kB / 0.5787 GB, free: 12.55 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1989, allocations: 0 / 0.5787 GB, free: 12.55 MB / 446.1 MB Notification: Performance of Templates: time 0.007654/0.2066, allocations: 3.178 MB / 0.5818 GB, free: 9.402 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.960498008877039]