Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.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.0007735/0.0007735, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003105/0.003105, allocations: 160.3 kB / 24.7 MB, free: 9.43 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.8531/0.8531, allocations: 177.1 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.2271/0.2271, allocations: 32.79 MB / 294.2 MB, free: 1.203 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.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 440.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.16e-05, allocations: 4.25 kB / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.174/0.174, allocations: 18.57 MB / 459.4 MB, free: 35.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.1778, allocations: 3.986 MB / 463.4 MB, free: 33.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005343/0.1783, allocations: 25.75 kB / 463.4 MB, free: 33.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007057/0.179, allocations: 312.9 kB / 463.7 MB, free: 32.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.1805, allocations: 0.9093 MB / 464.7 MB, free: 32.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.1822, allocations: 0.9478 MB / 465.6 MB, free: 31.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.1836, allocations: 1.829 MB / 467.4 MB, free: 31.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004561/0.1841, allocations: 400.6 kB / 467.8 MB, free: 30.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.1854, allocations: 1.173 MB / 469 MB, free: 30.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005639/0.186, allocations: 0.6158 MB / 469.6 MB, free: 30.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.186, allocations: 58.25 kB / 469.7 MB, free: 30.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005235/0.1866, allocations: 284.9 kB / 470 MB, free: 30.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.1867, allocations: 288.8 kB / 470.2 MB, free: 30.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.1869, allocations: 275 kB / 470.5 MB, free: 29.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009814/0.1879, allocations: 1.127 MB / 471.6 MB, free: 29.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1879, allocations: 4 kB / 471.6 MB, free: 29.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1879, allocations: 0 / 471.6 MB, free: 29.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.1879, allocations: 0 / 471.6 MB, free: 29.54 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00136/0.1893, allocations: 0.9838 MB / 472.6 MB, free: 28.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1893, allocations: 16.81 kB / 472.6 MB, free: 28.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.1895, allocations: 89.91 kB / 472.7 MB, free: 28.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/0.19, allocations: 474.1 kB / 473.2 MB, free: 28.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.188e-05/0.1901, allocations: 157.2 kB / 473.3 MB, free: 28.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.1902, allocations: 53.22 kB / 473.4 MB, free: 28.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.1909, allocations: 1.067 MB / 474.5 MB, free: 27.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1909, allocations: 3.375 kB / 474.5 MB, free: 27.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.191, allocations: 22.02 kB / 474.5 MB, free: 27.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.191, allocations: 40.83 kB / 474.5 MB, free: 27.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/0.1916, allocations: 0.6422 MB / 475.2 MB, free: 27.39 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.002173/0.1937, allocations: 3.331 MB / 478.5 MB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.1942, allocations: 398.5 kB / 478.9 MB, free: 24.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.1944, allocations: 193.6 kB / 479.1 MB, free: 24.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.1946, allocations: 55.22 kB / 479.1 MB, free: 24.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.1946, allocations: 43.55 kB / 479.2 MB, free: 24.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.435e-06/0.1946, allocations: 0 / 479.2 MB, free: 24.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.00181/0.1964, allocations: 1.453 MB / 480.6 MB, free: 23.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1965, allocations: 131.7 kB / 480.8 MB, free: 23.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.1968, allocations: 0.5231 MB / 481.3 MB, free: 23.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1968, allocations: 32.8 kB / 481.3 MB, free: 23.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1969, allocations: 369.8 kB / 481.7 MB, free: 23.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.197, allocations: 174.2 kB / 481.8 MB, free: 22.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.1971, allocations: 133.5 kB / 482 MB, free: 22.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.1971, allocations: 376.7 kB / 482.3 MB, free: 22.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.1974, allocations: 223.7 kB / 482.6 MB, free: 22.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.1976, allocations: 0.596 MB / 483.2 MB, free: 21.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.1982, allocations: 0.7777 MB / 483.9 MB, free: 21.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1982, allocations: 3.031 kB / 483.9 MB, free: 21.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009131/0.1991, allocations: 0.931 MB / 484.9 MB, free: 20.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1991, allocations: 11.06 kB / 484.9 MB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1991, allocations: 9.312 kB / 484.9 MB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.1997, allocations: 273.6 kB / 485.1 MB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.1999, allocations: 128.2 kB / 485.3 MB, free: 20.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005179/0.2004, allocations: 0.8663 MB / 486.1 MB, free: 20.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.2007, allocations: 24.5 kB / 486.2 MB, free: 20.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.2007, allocations: 37.14 kB / 486.2 MB, free: 20.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.2009, allocations: 245.1 kB / 486.4 MB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.201, allocations: 66.11 kB / 486.5 MB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007573/0.2018, allocations: 0.7139 MB / 487.2 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.2018, allocations: 6.25 kB / 487.2 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2018, allocations: 3.938 kB / 487.2 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2018, allocations: 3.141 kB / 487.2 MB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.203, allocations: 1.234 MB / 488.5 MB, free: 18.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.203, allocations: 0 / 488.5 MB, free: 18.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.2034, allocations: 188.8 kB / 488.7 MB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001356/0.2036, allocations: 66.83 kB / 488.7 MB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.2036, allocations: 19.25 kB / 488.7 MB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.2046, allocations: 2.724 MB / 491.5 MB, free: 16.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2046, allocations: 7.094 kB / 491.5 MB, free: 16.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009327/0.2055, allocations: 0.9936 MB / 492.5 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.2057, allocations: 110.3 kB / 492.6 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.2058, allocations: 17.06 kB / 492.6 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.2059, allocations: 18.06 kB / 492.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.206, allocations: 39.53 kB / 492.6 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.206, allocations: 24.64 kB / 492.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002793/0.2063, allocations: 350.2 kB / 493 MB, free: 15.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2063, allocations: 0 / 493 MB, free: 15.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005701/0.2069, allocations: 204 kB / 493.2 MB, free: 15.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003457/0.2072, allocations: 228.2 kB / 493.4 MB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000803/0.208, allocations: 0.5809 MB / 494 MB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.208, allocations: 1.156 kB / 494 MB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000636/0.2087, allocations: 472.3 kB / 494.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.2095, allocations: 322.6 kB / 494.8 MB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.2111, allocations: 1.355 MB / 496.1 MB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.2113, allocations: 339.7 kB / 496.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.2114, allocations: 62.67 kB / 496.5 MB, free: 13.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2114, allocations: 1.188 kB / 496.5 MB, free: 13.96 MB / 410.7 MB Notification: Performance of Templates: time 0.01849/0.2299, allocations: 15.24 MB / 0.4998 GB, free: 10.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.975236464291811]