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.001081/0.001081, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002381, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001072/0.001072, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.002152, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.066/1.066, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1106/1.176, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.2582/0.2582, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02412/0.2823, allocations: 12.53 MB / 289.3 MB, free: 8.688 MB / 282.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.653e-06/1.653e-06, allocations: 0 / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.729e-05, allocations: 4.141 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.009923/0.00995, allocations: 7.409 MB / 298 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004636/0.01459, allocations: 2.491 MB / 300.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004885/0.01507, allocations: 27.75 kB / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005728/0.01565, allocations: 222.5 kB / 300.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.01729, allocations: 0.7572 MB / 301.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.01928, allocations: 0.8034 MB / 302.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002312/0.02159, allocations: 1.883 MB / 304.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006979/0.02229, allocations: 418.5 kB / 304.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.02402, allocations: 1.055 MB / 305.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009335/0.02496, allocations: 0.5726 MB / 306.2 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.02509, allocations: 56 kB / 306.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005903/0.02568, allocations: 195.7 kB / 306.5 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.02595, allocations: 235.3 kB / 306.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.02629, allocations: 227.6 kB / 306.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.02738, allocations: 0.6697 MB / 307.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.634e-05/0.0274, allocations: 4 kB / 307.6 MB, free: 7.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0274, allocations: 0 / 307.6 MB, free: 7.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.792e-05/0.02743, allocations: 0 / 307.6 MB, free: 7.25 MB / 298.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.002008/0.02944, allocations: 1.186 MB / 308.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.02948, allocations: 8.031 kB / 308.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000425/0.0299, allocations: 132.6 kB / 308.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006868/0.03059, allocations: 415.5 kB / 309.3 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.172e-05/0.03068, allocations: 160.3 kB / 309.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.03075, allocations: 52.33 kB / 309.5 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.03141, allocations: 0.8108 MB / 310.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.03143, allocations: 0 / 310.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.03147, allocations: 24 kB / 310.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/0.03152, allocations: 36.97 kB / 310.4 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.03183, allocations: 248.2 kB / 310.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.03429, allocations: 2.687 MB / 313.3 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.03464, allocations: 231 kB / 313.6 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.492e-05/0.03473, allocations: 82.5 kB / 313.6 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.03484, allocations: 36.31 kB / 313.7 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.03486, allocations: 38.88 kB / 313.7 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.552e-06/0.03486, allocations: 4 kB / 313.7 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001317/0.03618, allocations: 0.8201 MB / 314.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.03621, allocations: 63.16 kB / 314.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006043/0.03681, allocations: 470.8 kB / 315.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.03684, allocations: 37.7 kB / 315.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.03697, allocations: 329.2 kB / 315.4 MB, free: 15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.693e-05/0.03706, allocations: 174.5 kB / 315.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.03718, allocations: 138.5 kB / 315.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.03728, allocations: 374.7 kB / 316.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.03737, allocations: 69.89 kB / 316.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.03763, allocations: 477.5 kB / 316.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.03802, allocations: 0.5241 MB / 317.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.03803, allocations: 4 kB / 317.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006273/0.03866, allocations: 0.5256 MB / 317.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.03867, allocations: 11.94 kB / 317.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.03868, allocations: 12 kB / 317.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004763/0.03916, allocations: 209.8 kB / 317.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.03941, allocations: 143.8 kB / 318.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003664/0.03978, allocations: 0.6414 MB / 318.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.03999, allocations: 28 kB / 318.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.04002, allocations: 40.02 kB / 318.8 MB, free: 11.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0001447/0.04017, allocations: 164.4 kB / 318.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.04023, allocations: 51.94 kB / 319 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.04072, allocations: 403.9 kB / 319.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.04073, allocations: 7.984 kB / 319.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.04073, allocations: 8 kB / 319.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.04074, allocations: 3.938 kB / 319.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008154/0.04155, allocations: 0.7164 MB / 320.1 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.04156, allocations: 4 kB / 320.1 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.04199, allocations: 176 kB / 320.3 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.0421, allocations: 83.52 kB / 320.4 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/0.04223, allocations: 44.78 kB / 320.4 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.04225, allocations: 15.98 kB / 320.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.04372, allocations: 2.462 MB / 322.9 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.04372, allocations: 7.938 kB / 322.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.04423, allocations: 0.5297 MB / 323.4 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.04427, allocations: 8 kB / 323.4 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.04443, allocations: 15.98 kB / 323.4 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.04448, allocations: 39.88 kB / 323.5 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.04451, allocations: 15.98 kB / 323.5 MB, free: 6.262 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.04465, allocations: 200.4 kB / 323.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04465, allocations: 0 / 323.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004549/0.0451, allocations: 195.9 kB / 323.9 MB, free: 5.875 MB / 314.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 (45): * Single equations (assignments): 41 * 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.0002638/0.04537, allocations: 144.1 kB / 324 MB, free: 5.723 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.04586, allocations: 333.5 kB / 324.4 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.513e-05/0.04588, allocations: 16.5 kB / 324.4 MB, free: 5.383 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004595/0.04634, allocations: 338.6 kB / 324.7 MB, free: 5.035 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007605/0.0471, allocations: 387.4 kB / 325.1 MB, free: 4.672 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007515/0.05462, allocations: 1.185 MB / 326.3 MB, free: 3.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.05474, allocations: 171.1 kB / 326.4 MB, free: 3.242 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003569/0.05509, allocations: 116.1 kB / 326.5 MB, free: 3.133 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.05553, allocations: 279 kB / 326.8 MB, free: 2.859 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.05553, allocations: 0 / 326.8 MB, free: 2.859 MB / 314.7 MB Notification: Performance of Templates: time 0.0173/0.07283, allocations: 14.5 MB / 341.3 MB, free: 4.68 MB / 330.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2826279029250145]