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.001313/0.001313, allocations: 84.34 kB / 22.22 MB, free: 2.281 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.001487/0.001487, allocations: 169.2 kB / 25.61 MB, free: 8.871 MB / 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 0.9614/0.9614, allocations: 177 MB / 205.9 MB, free: 4.43 MB / 186.7 MB " [Timeout remaining time 179] 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.1853/0.1853, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 180] 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 3.287e-06/3.287e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.99e-05/4.318e-05, allocations: 3.156 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.006959/0.007002, allocations: 7.304 MB / 387.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.01025, allocations: 2.437 MB / 389.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006257/0.01088, allocations: 27.75 kB / 389.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.01145, allocations: 218.5 kB / 390 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.01283, allocations: 0.7767 MB / 390.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.01438, allocations: 0.8183 MB / 391.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.01613, allocations: 1.863 MB / 393.5 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000693/0.01683, allocations: 425.8 kB / 393.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.01827, allocations: 1.005 MB / 394.9 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008099/0.01907, allocations: 0.5921 MB / 395.5 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.01922, allocations: 64 kB / 395.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005519/0.01978, allocations: 191.7 kB / 395.7 MB, free: 6.957 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.02001, allocations: 287.1 kB / 396 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002718/0.02028, allocations: 275.4 kB / 396.3 MB, free: 6.406 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.02131, allocations: 0.7592 MB / 397 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.02132, allocations: 0 / 397 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.02132, allocations: 0 / 397 MB, free: 5.645 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.02134, allocations: 0 / 397 MB, free: 5.645 MB / 314.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.001422/0.02276, allocations: 1.076 MB / 398.1 MB, free: 4.531 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.0228, allocations: 12.03 kB / 398.1 MB, free: 4.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.02309, allocations: 156.1 kB / 398.3 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.02368, allocations: 480.8 kB / 398.7 MB, free: 3.867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.02379, allocations: 152.4 kB / 398.9 MB, free: 3.695 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.02386, allocations: 56.33 kB / 398.9 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005989/0.02446, allocations: 0.8572 MB / 399.8 MB, free: 2.621 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.02448, allocations: 7.938 kB / 399.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.02452, allocations: 23.98 kB / 399.8 MB, free: 2.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-05/0.02456, allocations: 36.98 kB / 399.9 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.02487, allocations: 246.5 kB / 400.1 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.02747, allocations: 3.805 MB / 403.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.02791, allocations: 256.4 kB / 404.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.02801, allocations: 84.3 kB / 404.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.02815, allocations: 40.31 kB / 404.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.02819, allocations: 41.7 kB / 404.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.873e-06/0.02819, allocations: 4 kB / 404.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.001508/0.0297, allocations: 0.8562 MB / 405.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.02975, allocations: 136.5 kB / 405.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.03011, allocations: 0.541 MB / 405.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.03015, allocations: 33.7 kB / 405.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.03036, allocations: 434.9 kB / 406.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.03046, allocations: 170.6 kB / 406.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.03061, allocations: 160.2 kB / 406.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.03079, allocations: 0.5507 MB / 407.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.0309, allocations: 69.94 kB / 407.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.03128, allocations: 0.6039 MB / 407.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/0.03181, allocations: 0.6493 MB / 408.5 MB, free: 9.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.03182, allocations: 4 kB / 408.5 MB, free: 9.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009186/0.03274, allocations: 0.641 MB / 409.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.03276, allocations: 11.94 kB / 409.2 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.03277, allocations: 8 kB / 409.2 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/0.03338, allocations: 214 kB / 409.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.03364, allocations: 135.8 kB / 409.5 MB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006303/0.03427, allocations: 0.9209 MB / 410.4 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.03453, allocations: 28 kB / 410.5 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.03457, allocations: 31.94 kB / 410.5 MB, free: 7.176 MB / 330.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.0001846/0.03475, allocations: 214.8 kB / 410.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.13e-05/0.03485, allocations: 83.58 kB / 410.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005851/0.03543, allocations: 477.3 kB / 411.3 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.03544, allocations: 4 kB / 411.3 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.03544, allocations: 3.938 kB / 411.3 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.03545, allocations: 0 / 411.3 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.03646, allocations: 0.8783 MB / 412.1 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.03646, allocations: 0 / 412.1 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.03691, allocations: 163.8 kB / 412.3 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001711/0.03708, allocations: 55.83 kB / 412.4 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.03712, allocations: 16 kB / 412.4 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.03885, allocations: 3.563 MB / 415.9 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.03886, allocations: 4 kB / 415.9 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.03951, allocations: 0.6378 MB / 416.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.03967, allocations: 95.56 kB / 416.7 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.03972, allocations: 15.98 kB / 416.7 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.03989, allocations: 12 kB / 416.7 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.03996, allocations: 43.81 kB / 416.7 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.03999, allocations: 23.98 kB / 416.8 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.04019, allocations: 314.7 kB / 417.1 MB, free: 236 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04019, allocations: 0 / 417.1 MB, free: 236 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005542/0.04074, allocations: 191.9 kB / 417.3 MB, free: 44 kB / 330.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.0002728/0.04101, allocations: 163 kB / 417.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005511/0.04156, allocations: 360.4 kB / 417.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.04157, allocations: 4 kB / 417.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005315/0.0421, allocations: 402.9 kB / 418.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008556/0.04295, allocations: 327.1 kB / 418.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.0447, allocations: 1.191 MB / 419.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.04482, allocations: 171 kB / 419.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003435/0.04516, allocations: 118 kB / 420 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/0.04562, allocations: 333.9 kB / 420.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.04562, allocations: 0 / 420.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of Templates: time 0.01772/0.06334, allocations: 14.07 MB / 434.4 MB, free: 15.18 MB / 362.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","",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.6515634041279554]