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.0009247/0.0009247, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.002233, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007095/0.0007095, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008879/0.001597, 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.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09391/1.102, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.271/0.271, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02325/0.2942, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.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.292e-06/1.292e-06, allocations: 0 / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.247e-05, allocations: 4.562 kB / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.00613/0.006143, allocations: 7.406 MB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003635/0.009777, allocations: 2.503 MB / 302.5 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000427/0.0102, allocations: 31.69 kB / 302.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.01066, allocations: 214.5 kB / 302.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.01188, allocations: 0.765 MB / 303.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.01333, allocations: 0.8044 MB / 304.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00174/0.01507, allocations: 1.879 MB / 306.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006837/0.01576, allocations: 425.7 kB / 306.6 MB, free: 8.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.01733, allocations: 1.047 MB / 307.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008174/0.01815, allocations: 0.5648 MB / 308.2 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.01827, allocations: 60 kB / 308.3 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004654/0.01874, allocations: 199.7 kB / 308.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.01893, allocations: 231.3 kB / 308.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.01915, allocations: 223.6 kB / 308.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.02023, allocations: 0.6735 MB / 309.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.73e-05/0.02025, allocations: 0 / 309.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.02025, allocations: 0 / 309.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.066e-05/0.0203, allocations: 4 kB / 309.6 MB, free: 5.234 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.001961/0.02226, allocations: 1.186 MB / 310.8 MB, free: 4.004 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.0223, allocations: 8.031 kB / 310.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003344/0.02263, allocations: 128.6 kB / 310.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.02325, allocations: 419.4 kB / 311.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.02336, allocations: 156.4 kB / 311.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.67e-05/0.02344, allocations: 60.36 kB / 311.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006291/0.02407, allocations: 0.7992 MB / 312.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.02409, allocations: 7.938 kB / 312.4 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.02413, allocations: 23.98 kB / 312.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-05/0.02417, allocations: 40.98 kB / 312.4 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.0245, allocations: 244.2 kB / 312.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.02684, allocations: 2.691 MB / 315.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.0272, allocations: 230.3 kB / 315.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.228e-05/0.02728, allocations: 73.48 kB / 315.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.02741, allocations: 40.3 kB / 315.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.02744, allocations: 42.83 kB / 315.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 2.044e-06/0.02744, allocations: 0 / 315.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001389/0.02883, allocations: 0.824 MB / 316.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.02886, allocations: 63.14 kB / 316.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.02913, allocations: 478.8 kB / 317.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.02916, allocations: 33.7 kB / 317.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.02928, allocations: 329.2 kB / 317.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.02937, allocations: 170.5 kB / 317.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.02949, allocations: 142.5 kB / 317.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.937e-05/0.02959, allocations: 374.6 kB / 318.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.932e-05/0.02968, allocations: 65.97 kB / 318.2 MB, free: 12.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.02994, allocations: 481.5 kB / 318.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.0303, allocations: 0.5202 MB / 319.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.03031, allocations: 4 kB / 319.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006249/0.03093, allocations: 0.525 MB / 319.7 MB, free: 10.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.03095, allocations: 15.94 kB / 319.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.03096, allocations: 11.98 kB / 319.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000485/0.03145, allocations: 202.5 kB / 319.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.0317, allocations: 147.8 kB / 320.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003842/0.03209, allocations: 0.6475 MB / 320.7 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.03229, allocations: 24 kB / 320.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.03232, allocations: 32 kB / 320.8 MB, free: 9.281 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.0001367/0.03246, allocations: 172.4 kB / 320.9 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.03252, allocations: 47.95 kB / 321 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.033, allocations: 408.9 kB / 321.4 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.03301, allocations: 4 kB / 321.4 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.03301, allocations: 0 / 321.4 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.03302, allocations: 7.922 kB / 321.4 MB, free: 8.633 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008791/0.0339, allocations: 0.7281 MB / 322.1 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.0339, allocations: 0 / 322.1 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.03433, allocations: 172.1 kB / 322.3 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.03444, allocations: 75.59 kB / 322.4 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.03457, allocations: 52.73 kB / 322.4 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.03459, allocations: 8 kB / 322.4 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.03573, allocations: 2.462 MB / 324.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.03573, allocations: 0 / 324.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.03619, allocations: 0.5366 MB / 325.4 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.03624, allocations: 12 kB / 325.4 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.03639, allocations: 12 kB / 325.5 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.03644, allocations: 39.81 kB / 325.5 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.03647, allocations: 15.98 kB / 325.5 MB, free: 4.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001317/0.0366, allocations: 196.4 kB / 325.7 MB, free: 4.059 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0366, allocations: 0 / 325.7 MB, free: 4.059 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004154/0.03701, allocations: 191.9 kB / 325.9 MB, free: 3.871 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.0002244/0.03724, allocations: 152.3 kB / 326 MB, free: 3.711 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004305/0.03767, allocations: 337.5 kB / 326.4 MB, free: 3.379 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.192e-05/0.03769, allocations: 16.48 kB / 326.4 MB, free: 3.363 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.03813, allocations: 330.6 kB / 326.7 MB, free: 3.023 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.03887, allocations: 391 kB / 327.1 MB, free: 2.656 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007279/0.04615, allocations: 1.194 MB / 328.3 MB, free: 1.406 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.04628, allocations: 171.2 kB / 328.4 MB, free: 1.219 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003706/0.04665, allocations: 116.9 kB / 328.6 MB, free: 1.109 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005792/0.04723, allocations: 283 kB / 328.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of SimCode: time 1.713e-06/0.04723, allocations: 0 / 328.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of Templates: time 0.0162/0.06342, allocations: 14.5 MB / 343.3 MB, free: 2.664 MB / 330.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 -emit_protected -ignoreHideResult -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.222236817702651]