Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001916/0.001916, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002011/0.002011, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.549/1.549, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3776/0.3776, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.816e-05, allocations: 6.312 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02804/0.02807, allocations: 21.02 MB / 398.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007628/0.0357, allocations: 4.38 MB / 402.6 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005738/0.03627, allocations: 27.75 kB / 402.6 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009757/0.03725, allocations: 305.9 kB / 402.9 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.03943, allocations: 0.9126 MB / 403.9 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.04196, allocations: 0.9424 MB / 404.8 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002696/0.04466, allocations: 1.828 MB / 406.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007795/0.04544, allocations: 409.8 kB / 407 MB, free: 4.969 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002441/0.04788, allocations: 1.188 MB / 408.2 MB, free: 3.777 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.049, allocations: 0.6155 MB / 408.8 MB, free: 3.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.04914, allocations: 60 kB / 408.9 MB, free: 3.102 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008361/0.04997, allocations: 287.5 kB / 409.2 MB, free: 2.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.05033, allocations: 291.1 kB / 409.5 MB, free: 2.535 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004292/0.05076, allocations: 279.4 kB / 409.7 MB, free: 2.262 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.05247, allocations: 1.122 MB / 410.8 MB, free: 1.137 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.05247, allocations: 0 / 410.8 MB, free: 1.137 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.05247, allocations: 4 kB / 410.9 MB, free: 1.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.05248, allocations: 0 / 410.9 MB, free: 1.133 MB / 378.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.002447/0.05493, allocations: 1.138 MB / 412 MB, free: 15.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.05497, allocations: 12.02 kB / 412 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004674/0.05544, allocations: 156.2 kB / 412.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009846/0.05642, allocations: 492.8 kB / 412.6 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.0566, allocations: 164.3 kB / 412.8 MB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.05672, allocations: 52.33 kB / 412.8 MB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.05833, allocations: 1.026 MB / 413.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.05836, allocations: 3.938 kB / 413.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/0.05843, allocations: 27.94 kB / 413.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-05/0.0585, allocations: 36.98 kB / 413.9 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009374/0.05944, allocations: 431.5 kB / 414.4 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00557/0.06501, allocations: 4.205 MB / 418.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009137/0.06592, allocations: 360.3 kB / 418.9 MB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.06624, allocations: 160.2 kB / 419.1 MB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.06653, allocations: 56.28 kB / 419.1 MB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.06657, allocations: 41.72 kB / 419.2 MB, free: 8.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 1.693e-06/0.06657, allocations: 0 / 419.2 MB, free: 8.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.003312/0.06988, allocations: 1.328 MB / 420.5 MB, free: 7.023 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.06999, allocations: 136.5 kB / 420.6 MB, free: 6.859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009638/0.07096, allocations: 0.6429 MB / 421.3 MB, free: 6.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.071, allocations: 29.7 kB / 421.3 MB, free: 6.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.07142, allocations: 443.1 kB / 421.7 MB, free: 5.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.07165, allocations: 186.5 kB / 421.9 MB, free: 5.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.07194, allocations: 168.2 kB / 422.1 MB, free: 5.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003664/0.0723, allocations: 0.5743 MB / 422.7 MB, free: 4.785 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.07267, allocations: 169.9 kB / 422.8 MB, free: 4.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008427/0.07351, allocations: 0.6772 MB / 423.5 MB, free: 3.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.07471, allocations: 0.8146 MB / 424.3 MB, free: 2.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.07471, allocations: 4 kB / 424.3 MB, free: 2.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001881/0.07659, allocations: 0.8398 MB / 425.2 MB, free: 1.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.07662, allocations: 14.81 kB / 425.2 MB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.07664, allocations: 8.875 kB / 425.2 MB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.07779, allocations: 251.5 kB / 425.4 MB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.07824, allocations: 131.8 kB / 425.6 MB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.07945, allocations: 1.068 MB / 426.6 MB, free: 396 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.07991, allocations: 28 kB / 426.7 MB, free: 368 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.07998, allocations: 35.98 kB / 426.7 MB, free: 332 kB / 394.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.0003516/0.08033, allocations: 256.2 kB / 426.9 MB, free: 64 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.08051, allocations: 83.8 kB / 427 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.08198, allocations: 0.6588 MB / 427.7 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.082, allocations: 15.75 kB / 427.7 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.082, allocations: 0 / 427.7 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.08201, allocations: 0 / 427.7 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.08459, allocations: 1.304 MB / 429 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.08459, allocations: 3.938 kB / 429 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009906/0.08558, allocations: 179.8 kB / 429.2 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002978/0.08588, allocations: 67.83 kB / 429.2 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.08592, allocations: 12 kB / 429.3 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003532/0.08945, allocations: 3.762 MB / 433 MB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.08945, allocations: 0 / 433 MB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.09122, allocations: 0.9398 MB / 434 MB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.09155, allocations: 111.5 kB / 434.1 MB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.259e-05/0.09163, allocations: 16 kB / 434.1 MB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.09197, allocations: 19.98 kB / 434.1 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.09208, allocations: 39.88 kB / 434.1 MB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.09213, allocations: 23.98 kB / 434.2 MB, free: 8.457 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005236/0.09265, allocations: 390.8 kB / 434.5 MB, free: 8.078 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09265, allocations: 4 kB / 434.5 MB, free: 8.074 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008206/0.09347, allocations: 203.9 kB / 434.7 MB, free: 7.875 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.000558/0.09403, allocations: 211 kB / 435 MB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.09526, allocations: 0.543 MB / 435.5 MB, free: 7.113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.09526, allocations: 0 / 435.5 MB, free: 7.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.09648, allocations: 0.4998 MB / 436 MB, free: 6.594 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.09805, allocations: 339.9 kB / 436.3 MB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.1006, allocations: 1.282 MB / 437.6 MB, free: 4.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.101, allocations: 325.1 kB / 437.9 MB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006165/0.1016, allocations: 182.3 kB / 438.1 MB, free: 4.418 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.1018, allocations: 68.42 kB / 438.2 MB, free: 4.352 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1018, allocations: 0 / 438.2 MB, free: 4.352 MB / 410.7 MB Notification: Performance of Templates: time 0.1737/0.2755, allocations: 13.88 MB / 452.1 MB, free: 101.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.805576367070898]