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.0008123/0.0008123, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001081/0.001893, allocations: 452 kB / 10.43 MB, free: 264 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.0007127/0.0007127, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009663/0.001679, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9106/0.9106, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.148/1.059, allocations: 49.49 MB / 220.7 MB, free: 1.371 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.1326/0.1326, allocations: 32.36 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02267/0.1553, allocations: 12.32 MB / 266.1 MB, free: 3.875 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.533e-06/1.533e-06, allocations: 0 / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.713e-05, allocations: 6.25 kB / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.006692/0.006719, allocations: 7.328 MB / 274.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003283/0.01, allocations: 2.506 MB / 277.2 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.01033, allocations: 27.75 kB / 277.3 MB, free: 8.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003791/0.01071, allocations: 210.6 kB / 277.5 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.01174, allocations: 0.765 MB / 278.2 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.01301, allocations: 0.8182 MB / 279 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.01452, allocations: 1.883 MB / 280.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000468/0.01499, allocations: 421.7 kB / 281.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.01608, allocations: 1.032 MB / 282.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006122/0.0167, allocations: 0.5726 MB / 282.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-05/0.01679, allocations: 63.94 kB / 283 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.01715, allocations: 207.6 kB / 283.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.01731, allocations: 223.4 kB / 283.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.01751, allocations: 223.6 kB / 283.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006625/0.01817, allocations: 0.6814 MB / 284.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.01818, allocations: 0 / 284.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.01818, allocations: 0 / 284.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.01819, allocations: 0 / 284.3 MB, free: 1.543 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.001265/0.01946, allocations: 1.17 MB / 285.5 MB, free: 336 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.613e-05/0.01948, allocations: 12.03 kB / 285.5 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.01973, allocations: 132.6 kB / 285.6 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1212/0.1409, allocations: 416.5 kB / 286.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.141, allocations: 153.6 kB / 286.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.715e-05/0.1411, allocations: 51.03 kB / 286.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.1419, allocations: 0.8306 MB / 287.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1419, allocations: 5.094 kB / 287.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.1419, allocations: 28.11 kB / 287.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/0.142, allocations: 37.55 kB / 287.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/0.1423, allocations: 241.4 kB / 287.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.1445, allocations: 2.698 MB / 290.1 MB, free: 8.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.1449, allocations: 222.8 kB / 290.3 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-05/0.145, allocations: 80.58 kB / 290.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.1451, allocations: 38.55 kB / 290.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1452, allocations: 43.81 kB / 290.5 MB, free: 8.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 2.205e-06/0.1452, allocations: 0.5625 kB / 290.5 MB, free: 8.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.001904/0.1471, allocations: 0.9006 MB / 291.4 MB, free: 8.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.1471, allocations: 61.06 kB / 291.4 MB, free: 8.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.1475, allocations: 470 kB / 291.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.1475, allocations: 38.27 kB / 291.9 MB, free: 8.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.1476, allocations: 331.8 kB / 292.2 MB, free: 8.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.1477, allocations: 170.3 kB / 292.4 MB, free: 8.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.1479, allocations: 136.9 kB / 292.5 MB, free: 8.035 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.1479, allocations: 371.8 kB / 292.9 MB, free: 7.723 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.148, allocations: 64.94 kB / 293 MB, free: 7.719 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.1483, allocations: 486 kB / 293.4 MB, free: 7.234 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004939/0.1488, allocations: 0.5588 MB / 294 MB, free: 6.867 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1488, allocations: 2.219 kB / 294 MB, free: 6.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008097/0.1496, allocations: 0.5254 MB / 294.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1496, allocations: 9.688 kB / 294.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.1496, allocations: 12.39 kB / 294.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005689/0.1502, allocations: 210.9 kB / 294.8 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.1505, allocations: 147.3 kB / 294.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000393/0.1509, allocations: 0.6473 MB / 295.5 MB, free: 6.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.1512, allocations: 26.61 kB / 295.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.1512, allocations: 30.97 kB / 295.6 MB, free: 6.266 MB / 282.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.0001377/0.1513, allocations: 164.2 kB / 295.8 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1514, allocations: 58.48 kB / 295.8 MB, free: 6.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/0.1522, allocations: 404.8 kB / 296.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.1522, allocations: 4.5 kB / 296.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1522, allocations: 0.7969 kB / 296.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1522, allocations: 3.484 kB / 296.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008627/0.1531, allocations: 0.7393 MB / 297 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1531, allocations: 2.812 kB / 297 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.1536, allocations: 170.6 kB / 297.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1537, allocations: 79.78 kB / 297.2 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001359/0.1538, allocations: 51.42 kB / 297.3 MB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.1539, allocations: 14.84 kB / 297.3 MB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008228/0.1547, allocations: 2.455 MB / 299.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1547, allocations: 2.75 kB / 299.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.1551, allocations: 0.5332 MB / 300.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.1552, allocations: 13.25 kB / 300.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.1554, allocations: 11.98 kB / 300.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.1554, allocations: 39.89 kB / 300.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.1555, allocations: 13.64 kB / 300.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1556, allocations: 194.6 kB / 300.5 MB, free: 3.039 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1556, allocations: 0 / 300.5 MB, free: 3.039 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004828/0.1561, allocations: 192.9 kB / 300.7 MB, free: 3.031 MB / 282.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.0003562/0.1565, allocations: 175.1 kB / 300.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000485/0.1569, allocations: 347.1 kB / 301.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-05/0.157, allocations: 14.11 kB / 301.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005316/0.1575, allocations: 364.8 kB / 301.6 MB, free: 2.789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009853/0.1585, allocations: 1.803 MB / 303.4 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007806/0.1663, allocations: 1.187 MB / 304.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.1664, allocations: 172.3 kB / 304.8 MB, free: 440 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003342/0.1667, allocations: 115.1 kB / 304.9 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/0.1672, allocations: 274.1 kB / 305.1 MB, free: 348 kB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1672, allocations: 3.656 kB / 305.1 MB, free: 348 kB / 282.7 MB Notification: Performance of Templates: time 0.01616/0.1834, allocations: 14.18 MB / 319.3 MB, free: 5.508 MB / 298.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9701613914221525]