Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001358/0.001358, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001792/0.001792, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 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 0.9129/0.9129, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] 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.1497/0.1497, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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.LinearColdWater,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.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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 3.938 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.789e-05, allocations: 8.219 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01959/0.01961, allocations: 20.99 MB / 368.7 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005134/0.02475, allocations: 4.36 MB / 373 MB, free: 324 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004548/0.0252, allocations: 27.75 kB / 373.1 MB, free: 296 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008799/0.02608, allocations: 313.8 kB / 373.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.02776, allocations: 0.901 MB / 374.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.02963, allocations: 0.9501 MB / 375.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001778/0.03141, allocations: 1.828 MB / 377 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005751/0.03199, allocations: 417.8 kB / 377.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.03364, allocations: 1.168 MB / 378.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008268/0.03446, allocations: 0.6233 MB / 379.2 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.03456, allocations: 60 kB / 379.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005904/0.03515, allocations: 283.5 kB / 379.6 MB, free: 9.742 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.03539, allocations: 287.1 kB / 379.9 MB, free: 9.461 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.03566, allocations: 275.4 kB / 380.1 MB, free: 9.191 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.03683, allocations: 0.8372 MB / 381 MB, free: 8.352 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.03683, allocations: 0 / 381 MB, free: 8.352 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.03683, allocations: 0 / 381 MB, free: 8.352 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.03684, allocations: 0 / 381 MB, free: 8.352 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.001648/0.03849, allocations: 1.102 MB / 382.1 MB, free: 7.211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.03853, allocations: 8.031 kB / 382.1 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003741/0.0389, allocations: 156.2 kB / 382.2 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006809/0.03958, allocations: 496.8 kB / 382.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.0397, allocations: 152.4 kB / 382.9 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-05/0.03979, allocations: 56.36 kB / 382.9 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.04101, allocations: 0.9505 MB / 383.9 MB, free: 5.184 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.04103, allocations: 7.922 kB / 383.9 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.04109, allocations: 20 kB / 383.9 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/0.04115, allocations: 36.98 kB / 383.9 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.04167, allocations: 297.5 kB / 384.2 MB, free: 4.832 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00253/0.0442, allocations: 3.946 MB / 388.2 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.04466, allocations: 270.7 kB / 388.4 MB, free: 476 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.0448, allocations: 100.2 kB / 388.5 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.04496, allocations: 52.28 kB / 388.6 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.04498, allocations: 41.72 kB / 388.6 MB, free: 268 kB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.864e-06/0.04499, allocations: 0 / 388.6 MB, free: 268 kB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001638/0.04663, allocations: 1.021 MB / 389.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.04667, allocations: 136.5 kB / 389.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.04705, allocations: 0.5336 MB / 390.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.04708, allocations: 33.7 kB / 390.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.04726, allocations: 419.1 kB / 390.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.092e-05/0.04735, allocations: 178.5 kB / 390.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003559/0.04771, allocations: 148.2 kB / 391.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.04786, allocations: 0.5391 MB / 391.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.04801, allocations: 97.92 kB / 391.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.04837, allocations: 0.5988 MB / 392.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.04894, allocations: 0.6624 MB / 393 MB, free: 11.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.04894, allocations: 0 / 393 MB, free: 11.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009115/0.04985, allocations: 0.68 MB / 393.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.04987, allocations: 8 kB / 393.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.04988, allocations: 12 kB / 393.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005473/0.05043, allocations: 208 kB / 393.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.05066, allocations: 127.8 kB / 394 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005438/0.0512, allocations: 0.9404 MB / 394.9 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.05142, allocations: 27.98 kB / 395 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.05146, allocations: 36 kB / 395 MB, free: 9.324 MB / 330.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.0001524/0.05161, allocations: 208.3 kB / 395.2 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/0.0517, allocations: 79.58 kB / 395.3 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006721/0.05237, allocations: 0.5145 MB / 395.8 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.05237, allocations: 7.938 kB / 395.8 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.05238, allocations: 0 / 395.8 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.05238, allocations: 3.984 kB / 395.8 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.05343, allocations: 1.007 MB / 396.8 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.05343, allocations: 4 kB / 396.8 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.05389, allocations: 179.8 kB / 397 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.05403, allocations: 59.86 kB / 397.1 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.05405, allocations: 16 kB / 397.1 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.05559, allocations: 3.612 MB / 400.7 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.05559, allocations: 4 kB / 400.7 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007086/0.0563, allocations: 0.694 MB / 401.4 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.05643, allocations: 119.5 kB / 401.5 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.05648, allocations: 19.94 kB / 401.5 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.05664, allocations: 12 kB / 401.5 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.05672, allocations: 47.86 kB / 401.6 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.05674, allocations: 19.98 kB / 401.6 MB, free: 2.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002235/0.05697, allocations: 330.8 kB / 401.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05697, allocations: 0 / 401.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004541/0.05742, allocations: 203.9 kB / 402.1 MB, free: 1.824 MB / 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 (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.0003582/0.05778, allocations: 240.5 kB / 402.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.05834, allocations: 399.7 kB / 402.7 MB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.05835, allocations: 0 / 402.7 MB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005598/0.05891, allocations: 435.8 kB / 403.2 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/0.05967, allocations: 321.6 kB / 403.5 MB, free: 464 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.06125, allocations: 1.2 MB / 404.7 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.06136, allocations: 175.1 kB / 404.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003708/0.06173, allocations: 175.9 kB / 405 MB, free: 14.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.06208, allocations: 60.48 kB / 405.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.06208, allocations: 0 / 405.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of Templates: time 0.01545/0.07752, allocations: 13.9 MB / 419 MB, free: 0.9453 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4712135910522193]