Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001268/0.001268, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001606/0.001606, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 0.9704/0.9704, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2624/0.2624, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/2.998e-05, allocations: 3.781 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01828/0.01831, allocations: 7.388 MB / 332.7 MB, free: 212 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.02926, allocations: 2.484 MB / 335.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008192/0.03008, allocations: 27.69 kB / 335.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000658/0.03074, allocations: 210.6 kB / 335.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.03237, allocations: 0.7728 MB / 336.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004936/0.03731, allocations: 0.8065 MB / 337 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005156/0.04246, allocations: 1.852 MB / 338.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007508/0.04322, allocations: 430 kB / 339.3 MB, free: 9.613 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.04478, allocations: 0.9975 MB / 340.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.04642, allocations: 0.5687 MB / 340.8 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.04659, allocations: 56 kB / 340.9 MB, free: 7.988 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006438/0.04723, allocations: 199.7 kB / 341.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.04752, allocations: 283.1 kB / 341.3 MB, free: 7.516 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.04791, allocations: 279.3 kB / 341.6 MB, free: 7.242 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.0491, allocations: 0.7476 MB / 342.4 MB, free: 6.492 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.04911, allocations: 3.984 kB / 342.4 MB, free: 6.488 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.04911, allocations: 0 / 342.4 MB, free: 6.488 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.04913, allocations: 0 / 342.4 MB, free: 6.488 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.001627/0.05076, allocations: 0.9387 MB / 343.3 MB, free: 5.523 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.0508, allocations: 12.03 kB / 343.3 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.05106, allocations: 132.5 kB / 343.5 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.05155, allocations: 415.4 kB / 343.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-05/0.05163, allocations: 160.3 kB / 344 MB, free: 4.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.0517, allocations: 52.33 kB / 344.1 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005771/0.05227, allocations: 0.8148 MB / 344.9 MB, free: 3.766 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.05229, allocations: 3.938 kB / 344.9 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.05233, allocations: 31.92 kB / 344.9 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.003e-05/0.05237, allocations: 32.98 kB / 344.9 MB, free: 3.695 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.05267, allocations: 244.3 kB / 345.2 MB, free: 3.457 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.05473, allocations: 2.691 MB / 347.9 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.05507, allocations: 219.2 kB / 348.1 MB, free: 448 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.37e-05/0.05515, allocations: 81.47 kB / 348.2 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.05526, allocations: 32.31 kB / 348.2 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.05528, allocations: 42.88 kB / 348.2 MB, free: 280 kB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.05529, allocations: 0 / 348.2 MB, free: 280 kB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001367/0.05665, allocations: 0.829 MB / 349.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.0567, allocations: 132.5 kB / 349.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.05698, allocations: 474.8 kB / 349.7 MB, free: 14.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.057, allocations: 29.7 kB / 349.7 MB, free: 14.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.05713, allocations: 329.2 kB / 350 MB, free: 14.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.289e-05/0.05722, allocations: 170.6 kB / 350.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.05734, allocations: 138.5 kB / 350.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.05744, allocations: 378.6 kB / 350.7 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.731e-05/0.05753, allocations: 65.97 kB / 350.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.05778, allocations: 485.5 kB / 351.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.05816, allocations: 0.516 MB / 351.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.05816, allocations: 8 kB / 351.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006313/0.05879, allocations: 0.5174 MB / 352.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.05881, allocations: 15.92 kB / 352.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.05882, allocations: 16 kB / 352.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.05932, allocations: 206.6 kB / 352.5 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.05956, allocations: 139.8 kB / 352.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004452/0.06001, allocations: 0.6397 MB / 353.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.0602, allocations: 28 kB / 353.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.06024, allocations: 35.98 kB / 353.3 MB, free: 10.71 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.0001458/0.06038, allocations: 168.3 kB / 353.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.06045, allocations: 55.92 kB / 353.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.06093, allocations: 407.5 kB / 354 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.06094, allocations: 7.984 kB / 354 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.06095, allocations: 7.938 kB / 354 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.06095, allocations: 3.938 kB / 354 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007858/0.06174, allocations: 0.7204 MB / 354.7 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.06174, allocations: 4 kB / 354.7 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.06217, allocations: 170.2 kB / 354.9 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.06231, allocations: 49.02 kB / 354.9 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.06233, allocations: 12 kB / 354.9 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.06349, allocations: 2.453 MB / 357.4 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.06349, allocations: 4 kB / 357.4 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004969/0.06399, allocations: 0.5285 MB / 357.9 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.0641, allocations: 79.61 kB / 358 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.06414, allocations: 8 kB / 358 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.06428, allocations: 16 kB / 358 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.06435, allocations: 39.81 kB / 358.1 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.06437, allocations: 15.98 kB / 358.1 MB, free: 5.691 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001508/0.06452, allocations: 196.4 kB / 358.3 MB, free: 5.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06452, allocations: 0 / 358.3 MB, free: 5.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004627/0.06499, allocations: 191.9 kB / 358.4 MB, free: 5.312 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.0002425/0.06523, allocations: 144.2 kB / 358.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004768/0.06571, allocations: 337.5 kB / 358.9 MB, free: 4.828 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/0.06572, allocations: 8.5 kB / 358.9 MB, free: 4.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.06619, allocations: 324.9 kB / 359.2 MB, free: 4.492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.06696, allocations: 320.8 kB / 359.6 MB, free: 4.195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.06855, allocations: 1.176 MB / 360.7 MB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.06866, allocations: 171.1 kB / 360.9 MB, free: 2.773 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003116/0.06897, allocations: 115.9 kB / 361 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/0.0694, allocations: 279 kB / 361.3 MB, free: 2.391 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.0694, allocations: 4 kB / 361.3 MB, free: 2.387 MB / 330.7 MB Notification: Performance of Templates: time 0.01613/0.08553, allocations: 13.9 MB / 375.2 MB, free: 4.816 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.330316612031311]