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.0009851/0.0009851, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001488/0.002473, allocations: 449.8 kB / 10.44 MB, free: 252 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.001053/0.001053, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002408, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9953/0.9953, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1/1.095, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.3268/0.3268, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02776/0.3546, allocations: 13.11 MB / 291.5 MB, free: 7.324 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.473e-06/1.473e-06, allocations: 0 / 292.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.022e-05, allocations: 3.188 kB / 292.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.006663/0.006694, allocations: 7.403 MB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.01041, allocations: 2.503 MB / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004938/0.0109, allocations: 31.69 kB / 302.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004276/0.01133, allocations: 218.5 kB / 303 MB, free: 12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.01252, allocations: 0.7611 MB / 303.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.01401, allocations: 0.8045 MB / 304.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.01582, allocations: 1.879 MB / 306.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006524/0.01647, allocations: 429.7 kB / 306.9 MB, free: 8.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.01797, allocations: 1.044 MB / 307.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.01903, allocations: 0.5687 MB / 308.5 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.01919, allocations: 60 kB / 308.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006225/0.01982, allocations: 199.7 kB / 308.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.02007, allocations: 227.4 kB / 308.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.02038, allocations: 227.6 kB / 309.2 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.02143, allocations: 0.6736 MB / 309.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.02144, allocations: 0 / 309.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02144, allocations: 0 / 309.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.357e-05/0.02146, allocations: 0 / 309.8 MB, free: 5.137 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.001721/0.02318, allocations: 1.182 MB / 311 MB, free: 3.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.02322, allocations: 12.02 kB / 311 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/0.02351, allocations: 132.5 kB / 311.2 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.02404, allocations: 419.5 kB / 311.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.514e-05/0.02414, allocations: 152.4 kB / 311.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/0.02421, allocations: 56.36 kB / 311.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.02484, allocations: 0.8031 MB / 312.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.02486, allocations: 11.88 kB / 312.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.0249, allocations: 23.98 kB / 312.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.02494, allocations: 40.97 kB / 312.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.02526, allocations: 240.2 kB / 312.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.02775, allocations: 2.699 MB / 315.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.02813, allocations: 223.9 kB / 315.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.781e-05/0.02822, allocations: 73.42 kB / 315.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.02833, allocations: 40.3 kB / 315.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.02836, allocations: 38.89 kB / 316 MB, free: 14.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 2.054e-06/0.02836, allocations: 0 / 316 MB, free: 14.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001879/0.03024, allocations: 0.9187 MB / 316.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.03028, allocations: 59.41 kB / 316.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.03061, allocations: 474.8 kB / 317.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.03065, allocations: 29.7 kB / 317.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.03079, allocations: 329.2 kB / 317.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.03095, allocations: 170.5 kB / 317.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.03109, allocations: 142.5 kB / 318.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.03119, allocations: 370.7 kB / 318.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.0313, allocations: 61.97 kB / 318.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.0316, allocations: 489.4 kB / 319 MB, free: 11.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000533/0.03214, allocations: 0.5512 MB / 319.5 MB, free: 10.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.03214, allocations: 8 kB / 319.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006703/0.03281, allocations: 0.5256 MB / 320 MB, free: 10.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.03283, allocations: 19.97 kB / 320.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.03284, allocations: 8 kB / 320.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005032/0.03335, allocations: 203.4 kB / 320.3 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.03361, allocations: 143.8 kB / 320.4 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004607/0.03407, allocations: 0.6493 MB / 321.1 MB, free: 9.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.03432, allocations: 24 kB / 321.1 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.03436, allocations: 35.98 kB / 321.1 MB, free: 9.066 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.0001797/0.03454, allocations: 164.4 kB / 321.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.03461, allocations: 47.95 kB / 321.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005425/0.03515, allocations: 411 kB / 321.7 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.03516, allocations: 7.938 kB / 321.7 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.03516, allocations: 0 / 321.7 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.03517, allocations: 11.95 kB / 321.7 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008689/0.03604, allocations: 0.7204 MB / 322.5 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.03604, allocations: 4.219 kB / 322.5 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.03651, allocations: 171.8 kB / 322.6 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.03662, allocations: 75.59 kB / 322.7 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.03676, allocations: 48.73 kB / 322.8 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.03678, allocations: 16 kB / 322.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/0.03829, allocations: 2.458 MB / 325.2 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.03829, allocations: 0 / 325.2 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.03883, allocations: 0.5326 MB / 325.8 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.03888, allocations: 11.94 kB / 325.8 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.03903, allocations: 12 kB / 325.8 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.0391, allocations: 47.92 kB / 325.8 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.03912, allocations: 12 kB / 325.8 MB, free: 4.031 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.03928, allocations: 196.4 kB / 326 MB, free: 3.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03928, allocations: 0 / 326 MB, free: 3.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004877/0.03977, allocations: 199.9 kB / 326.2 MB, free: 3.645 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.0002568/0.04002, allocations: 144.2 kB / 326.4 MB, free: 3.492 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007153/0.04074, allocations: 342.6 kB / 326.7 MB, free: 3.156 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-05/0.04078, allocations: 12.5 kB / 326.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008163/0.0416, allocations: 363.9 kB / 327.1 MB, free: 2.773 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.04351, allocations: 1.845 MB / 328.9 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.05585, allocations: 1.188 MB / 330.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.05603, allocations: 171.1 kB / 330.3 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006479/0.05668, allocations: 117.1 kB / 330.4 MB, free: 15.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006895/0.05737, allocations: 279.1 kB / 330.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of SimCode: time 1.913e-06/0.05737, allocations: 0 / 330.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of Templates: time 0.01844/0.07581, allocations: 14.25 MB / 344.9 MB, free: 0.8711 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.26100617274642]