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.001092/0.001092, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.002448, allocations: 447.8 kB / 10.35 MB, free: 348 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.001036/0.001036, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002379, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9258/0.9258, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1585/1.084, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.14/0.14, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02246/0.1625, allocations: 12.3 MB / 265.9 MB, free: 7.824 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.542e-06/1.542e-06, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.271e-05, allocations: 2.312 kB / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.009604/0.009627, allocations: 7.332 MB / 274.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0049/0.01453, allocations: 2.51 MB / 277.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.01509, allocations: 31.69 kB / 277.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.01565, allocations: 206.6 kB / 277.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.01746, allocations: 0.7572 MB / 278 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.01954, allocations: 0.8221 MB / 278.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00274/0.02228, allocations: 1.887 MB / 280.8 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008845/0.02317, allocations: 413.8 kB / 281.2 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.02558, allocations: 1.04 MB / 282.2 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.02667, allocations: 0.5726 MB / 282.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.02685, allocations: 56 kB / 282.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006526/0.0275, allocations: 203.6 kB / 283 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003199/0.02782, allocations: 231.3 kB / 283.3 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004478/0.02827, allocations: 223.6 kB / 283.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.02955, allocations: 0.6736 MB / 284.1 MB, free: 5.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.759e-05/0.02956, allocations: 0 / 284.1 MB, free: 5.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.02956, allocations: 0 / 284.1 MB, free: 5.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.711e-05/0.0296, allocations: 0 / 284.1 MB, free: 5.523 MB / 282.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.002338/0.03194, allocations: 1.186 MB / 285.3 MB, free: 4.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.03198, allocations: 8.031 kB / 285.3 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004314/0.03241, allocations: 132.6 kB / 285.5 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008253/0.03324, allocations: 415.4 kB / 285.9 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.03338, allocations: 156.4 kB / 286 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.03349, allocations: 56.31 kB / 286.1 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009652/0.03446, allocations: 0.836 MB / 286.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.03448, allocations: 0 / 286.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.86e-05/0.03455, allocations: 27.98 kB / 286.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-05/0.03462, allocations: 40.92 kB / 287 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005001/0.03512, allocations: 244.3 kB / 287.2 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.03854, allocations: 2.683 MB / 289.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.03911, allocations: 250 kB / 290.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.03924, allocations: 69.44 kB / 290.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.03941, allocations: 40.3 kB / 290.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.03945, allocations: 38.89 kB / 290.3 MB, free: 15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.777e-06/0.03945, allocations: 0 / 290.3 MB, free: 15 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.002243/0.0417, allocations: 0.8333 MB / 291.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.04173, allocations: 59.34 kB / 291.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.0422, allocations: 474.8 kB / 291.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.04224, allocations: 37.7 kB / 291.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.04244, allocations: 325.2 kB / 292 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.04257, allocations: 170.5 kB / 292.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.04274, allocations: 142.5 kB / 292.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.04288, allocations: 374.6 kB / 292.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.04303, allocations: 69.97 kB / 292.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.04338, allocations: 477.5 kB / 293.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005736/0.04396, allocations: 0.5163 MB / 293.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.04397, allocations: 7.984 kB / 293.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009827/0.04495, allocations: 0.5211 MB / 294.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.04498, allocations: 19.92 kB / 294.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.04499, allocations: 8 kB / 294.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007261/0.04572, allocations: 200.1 kB / 294.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.04604, allocations: 147.8 kB / 294.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004217/0.04646, allocations: 0.6436 MB / 295.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.04672, allocations: 24 kB / 295.3 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.04676, allocations: 32 kB / 295.3 MB, free: 9.543 MB / 298.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.0001715/0.04693, allocations: 172.4 kB / 295.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.047, allocations: 51.95 kB / 295.5 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.04751, allocations: 405.7 kB / 295.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.04752, allocations: 4 kB / 295.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.04752, allocations: 3.938 kB / 295.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.04753, allocations: 7.922 kB / 296 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009008/0.04843, allocations: 0.7241 MB / 296.7 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.04844, allocations: 48 / 296.7 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.04891, allocations: 172 kB / 296.8 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.04905, allocations: 83.55 kB / 296.9 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/0.0492, allocations: 48.78 kB / 297 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.04922, allocations: 11.94 kB / 297 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.05049, allocations: 2.457 MB / 299.4 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.0505, allocations: 7.938 kB / 299.4 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.05103, allocations: 0.5327 MB / 300 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.05109, allocations: 12 kB / 300 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.05125, allocations: 12 kB / 300 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.05131, allocations: 43.81 kB / 300 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.05134, allocations: 15.98 kB / 300.1 MB, free: 4.484 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001446/0.05148, allocations: 196.4 kB / 300.3 MB, free: 4.293 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05148, allocations: 0 / 300.3 MB, free: 4.293 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005082/0.05199, allocations: 195.9 kB / 300.4 MB, free: 4.102 MB / 298.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.0003557/0.05235, allocations: 160.1 kB / 300.6 MB, free: 3.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004915/0.05284, allocations: 346.8 kB / 300.9 MB, free: 3.605 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.832e-05/0.05287, allocations: 16.5 kB / 301 MB, free: 3.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004611/0.05333, allocations: 325.8 kB / 301.3 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.05407, allocations: 389.3 kB / 301.7 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007674/0.06175, allocations: 1.187 MB / 302.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.06189, allocations: 179.2 kB / 303 MB, free: 1.434 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004781/0.06237, allocations: 113.6 kB / 303.1 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/0.06284, allocations: 283 kB / 303.4 MB, free: 1.043 MB / 298.7 MB Notification: Performance of SimCode: time 1.663e-06/0.06284, allocations: 0 / 303.4 MB, free: 1.043 MB / 298.7 MB Notification: Performance of Templates: time 0.01812/0.08096, allocations: 14.39 MB / 317.8 MB, free: 2.621 MB / 314.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 -ignoreHideResult -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.15745550673455]