Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002588/0.002588, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.003016/0.003016, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 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 1.591/1.591, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3726/0.3726, allocations: 32.8 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.82e-05, allocations: 5.406 kB / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02991/0.02994, allocations: 21.01 MB / 396.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007792/0.03773, allocations: 4.376 MB / 400.7 MB, free: 11.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007715/0.0385, allocations: 31.75 kB / 400.7 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.03969, allocations: 313.8 kB / 401 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.04223, allocations: 0.9048 MB / 401.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.04486, allocations: 0.9463 MB / 402.9 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00312/0.04798, allocations: 1.832 MB / 404.7 MB, free: 7.438 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.04903, allocations: 413.9 kB / 405.1 MB, free: 7.023 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.05201, allocations: 1.18 MB / 406.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.0537, allocations: 0.6154 MB / 406.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002443/0.05394, allocations: 60 kB / 406.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.05495, allocations: 291.5 kB / 407.2 MB, free: 4.879 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003735/0.05533, allocations: 283.2 kB / 407.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005079/0.05583, allocations: 283.3 kB / 407.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.05769, allocations: 1.13 MB / 408.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.0577, allocations: 0 / 408.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.0577, allocations: 0 / 408.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.05771, allocations: 3.938 kB / 408.9 MB, free: 3.188 MB / 378.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.002499/0.06021, allocations: 1.13 MB / 410 MB, free: 2.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.06025, allocations: 8.031 kB / 410.1 MB, free: 2.012 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.06074, allocations: 164.1 kB / 410.2 MB, free: 1.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.06212, allocations: 0.489 MB / 410.7 MB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.0623, allocations: 148.4 kB / 410.8 MB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.06244, allocations: 60.31 kB / 410.9 MB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.06403, allocations: 1.022 MB / 411.9 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.06405, allocations: 3.938 kB / 411.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/0.06413, allocations: 24 kB / 412 MB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.504e-05/0.0642, allocations: 32.94 kB / 412 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009449/0.06514, allocations: 443.5 kB / 412.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005754/0.07089, allocations: 4.205 MB / 416.6 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009005/0.0718, allocations: 360.4 kB / 417 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.07211, allocations: 160.3 kB / 417.1 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/0.07242, allocations: 52.28 kB / 417.2 MB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.07246, allocations: 41.72 kB / 417.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.004e-06/0.07246, allocations: 0 / 417.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.00359/0.07605, allocations: 1.321 MB / 418.5 MB, free: 9.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.07617, allocations: 140.5 kB / 418.7 MB, free: 8.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008117/0.07698, allocations: 0.639 MB / 419.3 MB, free: 8.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.07703, allocations: 41.7 kB / 419.4 MB, free: 8.223 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.07741, allocations: 435.1 kB / 419.8 MB, free: 7.793 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.0776, allocations: 186.5 kB / 420 MB, free: 7.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.07789, allocations: 168.2 kB / 420.1 MB, free: 7.438 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003831/0.07827, allocations: 0.5782 MB / 420.7 MB, free: 6.848 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.07862, allocations: 161.9 kB / 420.9 MB, free: 6.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008735/0.0795, allocations: 0.6847 MB / 421.6 MB, free: 5.797 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.08069, allocations: 0.8029 MB / 422.4 MB, free: 4.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.0807, allocations: 8 kB / 422.4 MB, free: 4.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001852/0.08255, allocations: 0.8522 MB / 423.2 MB, free: 3.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.08258, allocations: 10.19 kB / 423.2 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.0826, allocations: 8 kB / 423.2 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.08379, allocations: 247.6 kB / 423.5 MB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.08423, allocations: 123.8 kB / 423.6 MB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.08572, allocations: 1.084 MB / 424.7 MB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.08617, allocations: 28 kB / 424.7 MB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.08624, allocations: 32 kB / 424.7 MB, free: 2.391 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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.0003609/0.0866, allocations: 260.2 kB / 425 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.08676, allocations: 79.58 kB / 425.1 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.08823, allocations: 0.647 MB / 425.7 MB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.08825, allocations: 15.97 kB / 425.7 MB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.08825, allocations: 0 / 425.7 MB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.08826, allocations: 3.984 kB / 425.7 MB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.09071, allocations: 1.311 MB / 427.1 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.09072, allocations: 0 / 427.1 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000983/0.0917, allocations: 192 kB / 427.2 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002868/0.09199, allocations: 63.56 kB / 427.3 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.09202, allocations: 8 kB / 427.3 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00338/0.0954, allocations: 3.752 MB / 431.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.09541, allocations: 0 / 431.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.09733, allocations: 0.9478 MB / 432 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.09764, allocations: 111.5 kB / 432.1 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.229e-05/0.09773, allocations: 19.94 kB / 432.1 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.09807, allocations: 12 kB / 432.1 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.09818, allocations: 43.86 kB / 432.2 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.09823, allocations: 16 kB / 432.2 MB, free: 10.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005244/0.09875, allocations: 394.8 kB / 432.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09875, allocations: 0 / 432.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009079/0.09966, allocations: 207.9 kB / 432.8 MB, free: 9.938 MB / 410.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 (47): * Single equations (assignments): 43 * 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.0004871/0.1001, allocations: 225.5 kB / 433 MB, free: 9.711 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.1014, allocations: 0.5385 MB / 433.6 MB, free: 9.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.1014, allocations: 4 kB / 433.6 MB, free: 9.168 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.1027, allocations: 0.4979 MB / 434.1 MB, free: 8.652 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.1043, allocations: 337 kB / 434.4 MB, free: 8.332 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.1067, allocations: 1.272 MB / 435.7 MB, free: 6.992 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.1071, allocations: 341 kB / 436 MB, free: 6.633 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005809/0.1076, allocations: 182.2 kB / 436.2 MB, free: 6.465 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.1078, allocations: 48.5 kB / 436.2 MB, free: 6.418 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1078, allocations: 3.938 kB / 436.2 MB, free: 6.414 MB / 410.7 MB Notification: Performance of Templates: time 0.1601/0.2679, allocations: 13.88 MB / 450.1 MB, free: 104.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.729322683997452]