Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.001365/0.001365, allocations: 79.75 kB / 20.52 MB, free: 1.121 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.001571/0.001571, allocations: 169.1 kB / 23.76 MB, free: 4.195 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.366/1.366, allocations: 158.6 MB / 185.5 MB, free: 6.102 MB / 174.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.212/0.212, allocations: 32.38 MB / 270.1 MB, free: 2.707 MB / 254.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.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [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.003578/0.003578, allocations: 67.91 kB / 407.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1705, allocations: 61.04 MB / 468.8 MB, free: 8.289 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3266/0.497, allocations: 39.64 MB / 0.4965 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005608/0.5026, allocations: 4.07 MB / 0.5005 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006221/0.5033, allocations: 31.16 kB / 0.5005 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008727/0.5041, allocations: 303.4 kB / 0.5008 GB, free: 25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.5058, allocations: 0.8824 MB / 0.5017 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.5081, allocations: 0.9243 MB / 0.5026 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.51, allocations: 1.808 MB / 0.5044 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005321/0.5105, allocations: 391.8 kB / 0.5047 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1795/0.69, allocations: 44.25 MB / 0.5479 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03464/0.7246, allocations: 7.943 MB / 0.5557 GB, free: 5.031 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004682/0.7251, allocations: 64 kB / 0.5558 GB, free: 4.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0419/0.767, allocations: 10.57 MB / 0.5661 GB, free: 10.29 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007088/0.7677, allocations: 267.2 kB / 0.5663 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009453/0.7686, allocations: 334.6 kB / 0.5667 GB, free: 9.695 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.7713, allocations: 1.082 MB / 0.5677 GB, free: 8.609 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7713, allocations: 4 kB / 0.5677 GB, free: 8.605 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7713, allocations: 0 / 0.5677 GB, free: 8.605 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.027e-05/0.7713, allocations: 0 / 0.5677 GB, free: 8.605 MB / 478.1 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.003286/0.7746, allocations: 0.9912 MB / 0.5687 GB, free: 7.582 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.7747, allocations: 12.03 kB / 0.5687 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.7751, allocations: 92.45 kB / 0.5688 GB, free: 7.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.7764, allocations: 486.7 kB / 0.5693 GB, free: 6.977 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.7766, allocations: 148.4 kB / 0.5694 GB, free: 6.809 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.7767, allocations: 60.28 kB / 0.5695 GB, free: 6.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.7785, allocations: 1.094 MB / 0.5705 GB, free: 5.516 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.7785, allocations: 4 kB / 0.5705 GB, free: 5.512 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.535e-05/0.7786, allocations: 24 kB / 0.5705 GB, free: 5.488 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.85e-05/0.7787, allocations: 40.92 kB / 0.5706 GB, free: 5.445 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.7799, allocations: 0.6371 MB / 0.5712 GB, free: 4.812 MB / 478.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.005416/0.7854, allocations: 3.347 MB / 0.5745 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009925/0.7863, allocations: 397.5 kB / 0.5749 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/0.7867, allocations: 197.4 kB / 0.575 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.787, allocations: 52.28 kB / 0.5751 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.7871, allocations: 34.89 kB / 0.5751 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.7871, allocations: 4 kB / 0.5751 GB, free: 0.668 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003619/0.7907, allocations: 1.454 MB / 0.5766 GB, free: 15.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.926e-05/0.7908, allocations: 132.5 kB / 0.5767 GB, free: 15.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007069/0.7915, allocations: 0.5219 MB / 0.5772 GB, free: 14.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.7915, allocations: 33.7 kB / 0.5772 GB, free: 14.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.7919, allocations: 376.3 kB / 0.5776 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.792, allocations: 170.5 kB / 0.5777 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.7922, allocations: 138.6 kB / 0.5779 GB, free: 13.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.7924, allocations: 370.8 kB / 0.5782 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.7929, allocations: 225.9 kB / 0.5784 GB, free: 13.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007058/0.7936, allocations: 0.5955 MB / 0.579 GB, free: 12.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.7947, allocations: 0.782 MB / 0.5798 GB, free: 11.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.7947, allocations: 4 kB / 0.5798 GB, free: 11.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001928/0.7966, allocations: 0.9276 MB / 0.5807 GB, free: 10.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.7966, allocations: 8 kB / 0.5807 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.7967, allocations: 16.16 kB / 0.5807 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.7978, allocations: 260.7 kB / 0.581 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.7983, allocations: 131.8 kB / 0.5811 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.7993, allocations: 0.8654 MB / 0.5819 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.7999, allocations: 28 kB / 0.582 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.958e-05/0.7999, allocations: 32 kB / 0.582 GB, free: 9.203 MB / 494.1 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.00038/0.8003, allocations: 245.6 kB / 0.5822 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.8005, allocations: 71.58 kB / 0.5823 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.8019, allocations: 0.7078 MB / 0.583 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.8019, allocations: 8 kB / 0.583 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.8019, allocations: 8.547 kB / 0.583 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.8019, allocations: 0 / 0.583 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.8043, allocations: 1.231 MB / 0.5842 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.8043, allocations: 3.984 kB / 0.5842 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.8053, allocations: 202.2 kB / 0.5844 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/0.8056, allocations: 56.8 kB / 0.5845 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.8056, allocations: 15.92 kB / 0.5845 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/0.8083, allocations: 2.742 MB / 0.5872 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.8083, allocations: 4.031 kB / 0.5872 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.81, allocations: 0.9995 MB / 0.5881 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.8103, allocations: 123.5 kB / 0.5882 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-05/0.8104, allocations: 12 kB / 0.5883 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.8108, allocations: 12 kB / 0.5883 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.811, allocations: 39.92 kB / 0.5883 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-05/0.811, allocations: 21.69 kB / 0.5883 GB, free: 2.391 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004688/0.8115, allocations: 354.8 kB / 0.5887 GB, free: 2.047 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8115, allocations: 0 / 0.5887 GB, free: 2.047 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008663/0.8124, allocations: 203.9 kB / 0.5889 GB, free: 1.848 MB / 494.1 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.0005711/0.8129, allocations: 245.5 kB / 0.5891 GB, free: 1.613 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.8142, allocations: 0.5781 MB / 0.5897 GB, free: 1.039 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8142, allocations: 7.938 kB / 0.5897 GB, free: 1.031 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.8155, allocations: 470.8 kB / 0.5901 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.817, allocations: 314.3 kB / 0.5904 GB, free: 280 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.8197, allocations: 1.418 MB / 0.5918 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.8203, allocations: 345.1 kB / 0.5921 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006723/0.821, allocations: 194.2 kB / 0.5923 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.8211, allocations: 52.5 kB / 0.5924 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.8211, allocations: 0 / 0.5924 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.02708/0.8482, allocations: 13.9 MB / 0.6059 GB, free: 340 kB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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: 6.01761137903668]