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.001419/0.001419, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001045/0.001045, allocations: 160.8 kB / 25.61 MB, free: 8.895 MB / 18.57 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.024/1.024, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.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.1325/0.1325, allocations: 32.81 MB / 295.4 MB, free: 15.39 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 2.094e-06/2.094e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.121e-05, allocations: 6.312 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.006145/0.006166, allocations: 7.309 MB / 384.6 MB, free: 18.26 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.009258, allocations: 2.425 MB / 387 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003769/0.009635, allocations: 31.75 kB / 387 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005082/0.01014, allocations: 218.5 kB / 387.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.01126, allocations: 0.765 MB / 388 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.01254, allocations: 0.8339 MB / 388.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.01376, allocations: 1.855 MB / 390.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.01421, allocations: 421.8 kB / 391.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009092/0.01512, allocations: 1.013 MB / 392.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005282/0.01565, allocations: 0.596 MB / 392.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.449e-05/0.01572, allocations: 60 kB / 392.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.01601, allocations: 191.7 kB / 393 MB, free: 9.836 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.01617, allocations: 291 kB / 393.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.01634, allocations: 279.4 kB / 393.5 MB, free: 9.277 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006262/0.01697, allocations: 0.7476 MB / 394.3 MB, free: 8.527 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.01697, allocations: 0 / 394.3 MB, free: 8.527 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01697, allocations: 0 / 394.3 MB, free: 8.527 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.01698, allocations: 3.938 kB / 394.3 MB, free: 8.523 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.001091/0.01807, allocations: 1.079 MB / 395.4 MB, free: 7.406 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.0181, allocations: 15.98 kB / 395.4 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.01834, allocations: 152.2 kB / 395.5 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.01877, allocations: 476.9 kB / 396 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/0.01884, allocations: 156.3 kB / 396.1 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.0189, allocations: 56.33 kB / 396.2 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.01939, allocations: 0.8572 MB / 397.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.01941, allocations: 0 / 397.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.01945, allocations: 23.98 kB / 397.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.921e-05/0.01949, allocations: 40.97 kB / 397.1 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.01978, allocations: 258.5 kB / 397.4 MB, free: 5.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.02171, allocations: 3.798 MB / 401.2 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.02207, allocations: 266.3 kB / 401.4 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.02215, allocations: 80.3 kB / 401.5 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.02226, allocations: 36.3 kB / 401.5 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.02227, allocations: 41.72 kB / 401.6 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.423e-06/0.02228, allocations: 0 / 401.6 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001216/0.02349, allocations: 0.8604 MB / 402.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.02354, allocations: 136.5 kB / 402.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.0239, allocations: 0.5371 MB / 403.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.02393, allocations: 33.7 kB / 403.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.02413, allocations: 434.9 kB / 403.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.881e-05/0.02423, allocations: 170.6 kB / 403.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.02437, allocations: 156.2 kB / 403.9 MB, free: 14.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.02453, allocations: 0.5507 MB / 404.4 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.02463, allocations: 69.94 kB / 404.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.02497, allocations: 0.6077 MB / 405.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.02546, allocations: 0.6572 MB / 405.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02546, allocations: 4 kB / 405.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008422/0.0263, allocations: 0.6376 MB / 406.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.02632, allocations: 15.97 kB / 406.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.02633, allocations: 12 kB / 406.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/0.02684, allocations: 215.3 kB / 406.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.02707, allocations: 127.8 kB / 406.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007949/0.02787, allocations: 0.9287 MB / 407.7 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.0281, allocations: 28 kB / 407.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.02813, allocations: 28 kB / 407.8 MB, free: 10.05 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.0001555/0.02829, allocations: 216.2 kB / 408 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.109e-05/0.02837, allocations: 75.58 kB / 408 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005795/0.02895, allocations: 475.8 kB / 408.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.02896, allocations: 4 kB / 408.5 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.02896, allocations: 3.938 kB / 408.5 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.02897, allocations: 7.984 kB / 408.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009063/0.02987, allocations: 0.879 MB / 409.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.02988, allocations: 4.219 kB / 409.4 MB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.03031, allocations: 159.8 kB / 409.6 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.03045, allocations: 47.62 kB / 409.6 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.03047, allocations: 19.98 kB / 409.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.03194, allocations: 3.57 MB / 413.2 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.03194, allocations: 4 kB / 413.2 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006369/0.03257, allocations: 0.6263 MB / 413.8 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.0327, allocations: 99.5 kB / 413.9 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.03275, allocations: 16 kB / 413.9 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.03291, allocations: 12 kB / 414 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.03298, allocations: 39.86 kB / 414 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.033, allocations: 20.06 kB / 414 MB, free: 3.414 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004596/0.03346, allocations: 318.7 kB / 414.3 MB, free: 3.105 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03346, allocations: 0 / 414.3 MB, free: 3.105 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004502/0.03391, allocations: 191.9 kB / 414.5 MB, free: 2.918 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 (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.0002034/0.03411, allocations: 166.9 kB / 414.7 MB, free: 2.746 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004807/0.0346, allocations: 364.2 kB / 415 MB, free: 2.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.0346, allocations: 0 / 415 MB, free: 2.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.03512, allocations: 403.1 kB / 415.4 MB, free: 1.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008152/0.03593, allocations: 321.2 kB / 415.7 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.03743, allocations: 1.19 MB / 416.9 MB, free: 432 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.03754, allocations: 175 kB / 417.1 MB, free: 236 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002956/0.03784, allocations: 120.4 kB / 417.2 MB, free: 120 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004681/0.0383, allocations: 329.9 kB / 417.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.0383, allocations: 0 / 417.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of Templates: time 0.01634/0.05465, allocations: 14.07 MB / 431.6 MB, free: 2.055 MB / 346.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 -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.4613670990802348]