Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001824/0.001824, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002311/0.002311, allocations: 212.3 kB / 25.13 MB, free: 3.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.4 MB / 258.7 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2295/0.2295, allocations: 46.94 MB / 362.1 MB, free: 4.219 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 75.88 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3012, allocations: 66.08 MB / 0.5623 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02291/0.3241, allocations: 20.47 MB / 0.5823 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006513/0.3306, allocations: 4.302 MB / 0.5865 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004654/0.3311, allocations: 27.75 kB / 0.5866 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008483/0.3319, allocations: 326 kB / 0.5869 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.3338, allocations: 0.8823 MB / 0.5877 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.3361, allocations: 0.9268 MB / 0.5886 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002265/0.3384, allocations: 1.824 MB / 0.5904 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006266/0.339, allocations: 389.7 kB / 0.5908 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.3408, allocations: 0.9651 MB / 0.5917 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.3418, allocations: 0.6812 MB / 0.5924 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.342, allocations: 60 kB / 0.5925 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006942/0.3427, allocations: 283.6 kB / 0.5927 GB, free: 5.043 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.343, allocations: 263.2 kB / 0.593 GB, free: 4.785 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000436/0.3434, allocations: 394.2 kB / 0.5934 GB, free: 4.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.3448, allocations: 1.081 MB / 0.5944 GB, free: 3.316 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3448, allocations: 4 kB / 0.5944 GB, free: 3.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3448, allocations: 4 kB / 0.5944 GB, free: 3.309 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3449, allocations: 0 / 0.5944 GB, free: 3.309 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002264/0.3471, allocations: 0.9873 MB / 0.5954 GB, free: 2.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3472, allocations: 12.03 kB / 0.5954 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.3475, allocations: 96.41 kB / 0.5955 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000892/0.3484, allocations: 474.7 kB / 0.5959 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.3485, allocations: 156.4 kB / 0.5961 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.646e-05/0.3486, allocations: 56.31 kB / 0.5961 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.3501, allocations: 1.065 MB / 0.5972 GB, free: 264 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.3501, allocations: 11.94 kB / 0.5972 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.3502, allocations: 19.98 kB / 0.5972 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/0.3503, allocations: 44.95 kB / 0.5973 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.3514, allocations: 0.6479 MB / 0.5979 GB, free: 15.53 MB / 446.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.005163/0.3566, allocations: 4.154 MB / 0.6019 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009134/0.3575, allocations: 402.2 kB / 0.6023 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.3578, allocations: 197.4 kB / 0.6025 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.3581, allocations: 52.28 kB / 0.6026 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.3582, allocations: 42.89 kB / 0.6026 GB, free: 10.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.3582, allocations: 0 / 0.6026 GB, free: 10.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003372/0.3615, allocations: 1.456 MB / 0.604 GB, free: 8.914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.3616, allocations: 136.5 kB / 0.6042 GB, free: 8.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.3624, allocations: 0.5693 MB / 0.6047 GB, free: 8.168 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.3624, allocations: 37.7 kB / 0.6047 GB, free: 8.125 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.3627, allocations: 367.8 kB / 0.6051 GB, free: 7.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.3629, allocations: 170.6 kB / 0.6053 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.3631, allocations: 134.6 kB / 0.6054 GB, free: 7.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.3633, allocations: 378.7 kB / 0.6058 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.3637, allocations: 225.9 kB / 0.606 GB, free: 6.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007136/0.3644, allocations: 0.5962 MB / 0.6065 GB, free: 6.102 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.3655, allocations: 0.7834 MB / 0.6073 GB, free: 5.191 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3655, allocations: 4 kB / 0.6073 GB, free: 5.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001863/0.3673, allocations: 0.9417 MB / 0.6082 GB, free: 4.238 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.3674, allocations: 8 kB / 0.6082 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3674, allocations: 8 kB / 0.6083 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.3685, allocations: 264.8 kB / 0.6085 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.369, allocations: 127.8 kB / 0.6086 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.37, allocations: 0.8668 MB / 0.6095 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/0.3704, allocations: 27.98 kB / 0.6095 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.962e-05/0.3705, allocations: 36 kB / 0.6095 GB, free: 2.883 MB / 446.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.0003512/0.3708, allocations: 245.9 kB / 0.6098 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.371, allocations: 67.58 kB / 0.6098 GB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.3724, allocations: 0.7151 MB / 0.6105 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3724, allocations: 4 kB / 0.6105 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3724, allocations: 0 / 0.6105 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.3724, allocations: 7.984 kB / 0.6105 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.3747, allocations: 1.367 MB / 0.6119 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.3747, allocations: 3.938 kB / 0.6119 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.3757, allocations: 196 kB / 0.6121 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.3759, allocations: 56.73 kB / 0.6121 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.376, allocations: 12 kB / 0.6121 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/0.3786, allocations: 2.784 MB / 0.6149 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3786, allocations: 4.031 kB / 0.6149 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.3802, allocations: 1.009 MB / 0.6158 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.3805, allocations: 131.4 kB / 0.616 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.615e-05/0.3806, allocations: 8 kB / 0.616 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.3809, allocations: 16 kB / 0.616 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.381, allocations: 51.8 kB / 0.616 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.3811, allocations: 16 kB / 0.6161 GB, free: 11.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005489/0.3816, allocations: 427 kB / 0.6165 GB, free: 11.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3816, allocations: 0 / 0.6165 GB, free: 11.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007438/0.3824, allocations: 203.9 kB / 0.6167 GB, free: 11.22 MB / 462.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.0004059/0.3828, allocations: 222.6 kB / 0.6169 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.384, allocations: 0.5926 MB / 0.6174 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.384, allocations: 4 kB / 0.6175 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.3852, allocations: 467 kB / 0.6179 GB, free: 9.934 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.3867, allocations: 374.6 kB / 0.6183 GB, free: 9.574 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.389, allocations: 1.431 MB / 0.6197 GB, free: 8.094 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.3896, allocations: 0.9384 MB / 0.6206 GB, free: 7.129 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005768/0.3902, allocations: 198.6 kB / 0.6208 GB, free: 6.945 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.3904, allocations: 63.42 kB / 0.6208 GB, free: 6.883 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3904, allocations: 0 / 0.6208 GB, free: 6.883 MB / 462.1 MB Notification: Performance of Templates: time 0.02709/0.4175, allocations: 15.88 MB / 0.6363 GB, free: 7.164 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.489184118807316]