Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001737/0.001737, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.003289/0.003289, allocations: 211.9 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2371/0.2371, allocations: 44.27 MB / 330.3 MB, free: 9.293 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 78.55 kB / 468 MB, free: 3.785 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1588, allocations: 61.03 MB / 0.5167 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007883/0.1667, allocations: 4.26 MB / 0.5208 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00502/0.1717, allocations: 3.597 MB / 0.5244 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.1719, allocations: 0 / 0.5244 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.1722, allocations: 47.67 kB / 0.5244 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.1745, allocations: 0.7422 MB / 0.5251 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.1749, allocations: 139.8 kB / 0.5253 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006753/0.1755, allocations: 386.1 kB / 0.5256 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.1756, allocations: 5.812 kB / 0.5256 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.1759, allocations: 147.5 kB / 0.5258 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.1761, allocations: 143.5 kB / 0.5259 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.1762, allocations: 11.94 kB / 0.5259 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.1772, allocations: 383.5 kB / 0.5263 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.972e-05/0.1773, allocations: 51.73 kB / 0.5263 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1774, allocations: 95.58 kB / 0.5264 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007958/0.1782, allocations: 450.6 kB / 0.5269 GB, free: 12.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1782, allocations: 0 / 0.5269 GB, free: 12.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1783, allocations: 0 / 0.5269 GB, free: 12.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1783, allocations: 0 / 0.5269 GB, free: 12.14 MB / 414.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.001245/0.1795, allocations: 0.5324 MB / 0.5274 GB, free: 11.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1795, allocations: 8.031 kB / 0.5274 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.1797, allocations: 32.78 kB / 0.5274 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.1801, allocations: 166.2 kB / 0.5276 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.1804, allocations: 230.7 kB / 0.5278 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.1804, allocations: 24.31 kB / 0.5278 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/0.1811, allocations: 493 kB / 0.5283 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1811, allocations: 4 kB / 0.5283 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.1812, allocations: 12 kB / 0.5283 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.1812, allocations: 8 kB / 0.5283 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009134/0.1821, allocations: 0.7195 MB / 0.529 GB, free: 9.766 MB / 414.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.001485/0.1836, allocations: 1.05 MB / 0.53 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.1839, allocations: 139.8 kB / 0.5302 GB, free: 8.516 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.1841, allocations: 77.48 kB / 0.5302 GB, free: 8.438 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/0.1857, allocations: 0.7348 MB / 0.531 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1857, allocations: 34.56 kB / 0.531 GB, free: 7.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.1857, allocations: 0 / 0.531 GB, free: 7.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003111/0.186, allocations: 121.4 kB / 0.5311 GB, free: 7.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.1861, allocations: 55.34 kB / 0.5312 GB, free: 7.449 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.1863, allocations: 239.7 kB / 0.5314 GB, free: 7.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1864, allocations: 29.7 kB / 0.5314 GB, free: 7.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1865, allocations: 219.5 kB / 0.5316 GB, free: 6.953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.1866, allocations: 51.58 kB / 0.5317 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1867, allocations: 82.08 kB / 0.5318 GB, free: 6.816 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1868, allocations: 326.8 kB / 0.5321 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.1869, allocations: 52.78 kB / 0.5321 GB, free: 6.434 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.1873, allocations: 343.2 kB / 0.5324 GB, free: 5.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/0.1878, allocations: 444.6 kB / 0.5329 GB, free: 5.371 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.1878, allocations: 8 kB / 0.5329 GB, free: 5.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005858/0.1884, allocations: 385.9 kB / 0.5332 GB, free: 4.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.1884, allocations: 8 kB / 0.5333 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.1884, allocations: 12 kB / 0.5333 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.1884, allocations: 16 kB / 0.5333 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.1887, allocations: 99.77 kB / 0.5334 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-05/0.1887, allocations: 31.8 kB / 0.5334 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.189, allocations: 51.62 kB / 0.5335 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.189, allocations: 28.05 kB / 0.5335 GB, free: 4.738 MB / 414.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.0001463/0.1892, allocations: 145.7 kB / 0.5336 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.1892, allocations: 19.89 kB / 0.5336 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.1895, allocations: 156.5 kB / 0.5338 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.1895, allocations: 96 / 0.5338 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1895, allocations: 7.875 kB / 0.5338 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1895, allocations: 0 / 0.5338 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000539/0.1901, allocations: 352.5 kB / 0.5341 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.1901, allocations: 4 kB / 0.5341 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.1901, allocations: 11.98 kB / 0.5341 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.1901, allocations: 7.938 kB / 0.5342 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1902, allocations: 0 / 0.5342 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.309e-06/0.1902, allocations: 4 kB / 0.5342 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1902, allocations: 0 / 0.5342 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.1904, allocations: 198 kB / 0.5343 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.1905, allocations: 31.72 kB / 0.5344 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.1905, allocations: 8.094 kB / 0.5344 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.1906, allocations: 7.984 kB / 0.5344 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.1907, allocations: 11.92 kB / 0.5344 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1907, allocations: 11.98 kB / 0.5344 GB, free: 3.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.1908, allocations: 152.5 kB / 0.5346 GB, free: 3.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1908, allocations: 0 / 0.5346 GB, free: 3.535 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005207/0.1914, allocations: 91.88 kB / 0.5346 GB, free: 3.445 MB / 414.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.0003183/0.1917, allocations: 155.1 kB / 0.5348 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.192, allocations: 162.1 kB / 0.535 GB, free: 3.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/0.1921, allocations: 4 kB / 0.535 GB, free: 3.121 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.419e-05/0.1921, allocations: 28.17 kB / 0.535 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.1926, allocations: 48.56 kB / 0.535 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1937, allocations: 0.5323 MB / 0.5355 GB, free: 2.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.1938, allocations: 108.6 kB / 0.5357 GB, free: 2.355 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.194, allocations: 54.92 kB / 0.5357 GB, free: 2.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.1941, allocations: 31.42 kB / 0.5357 GB, free: 2.27 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1941, allocations: 0 / 0.5357 GB, free: 2.27 MB / 414.1 MB Notification: Performance of Templates: time 0.2602/0.4543, allocations: 3.399 MB / 0.5391 GB, free: 28.8 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.959715565666556]