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.002802/0.002802, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002548/0.002548, allocations: 173.6 kB / 23.53 MB, free: 0.8945 MB / 18.57 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 1.315/1.315, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] 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.227/0.227, allocations: 32.37 MB / 270 MB, free: 14.63 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 3.236e-06/3.236e-06, allocations: 4 kB / 347 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/3.051e-05, allocations: 6.25 kB / 347 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02421/0.02424, allocations: 20.91 MB / 367.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008464/0.03271, allocations: 4.372 MB / 372.2 MB, free: 408 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.03371, allocations: 27.75 kB / 372.3 MB, free: 380 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.0349, allocations: 317.8 kB / 372.6 MB, free: 60 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.03793, allocations: 0.9126 MB / 373.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003777/0.04171, allocations: 0.9308 MB / 374.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003198/0.04491, allocations: 1.836 MB / 376.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009399/0.04585, allocations: 422.8 kB / 376.7 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.04865, allocations: 1.168 MB / 377.8 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.05022, allocations: 0.6193 MB / 378.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.05039, allocations: 60 kB / 378.5 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009931/0.05138, allocations: 283.5 kB / 378.8 MB, free: 9.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003989/0.05178, allocations: 287.1 kB / 379.1 MB, free: 9.539 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004821/0.05226, allocations: 283.3 kB / 379.3 MB, free: 9.262 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.0544, allocations: 1.129 MB / 380.5 MB, free: 8.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.0544, allocations: 0 / 380.5 MB, free: 8.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.0544, allocations: 4 kB / 380.5 MB, free: 8.125 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.05442, allocations: 0 / 380.5 MB, free: 8.125 MB / 314.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.00304/0.05746, allocations: 1.138 MB / 381.6 MB, free: 6.949 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.0575, allocations: 8.031 kB / 381.6 MB, free: 6.941 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.05801, allocations: 168.1 kB / 381.8 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.05908, allocations: 496.8 kB / 382.3 MB, free: 6.266 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.05927, allocations: 160.3 kB / 382.4 MB, free: 6.086 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.05938, allocations: 48.38 kB / 382.5 MB, free: 6.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.06101, allocations: 1.044 MB / 383.5 MB, free: 4.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.06103, allocations: 3.938 kB / 383.5 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/0.06111, allocations: 27.98 kB / 383.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.085e-05/0.06118, allocations: 40.97 kB / 383.6 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/0.06213, allocations: 435.5 kB / 384 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006457/0.06859, allocations: 4.217 MB / 388.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000963/0.06955, allocations: 370 kB / 388.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.06988, allocations: 160.2 kB / 388.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003134/0.07019, allocations: 52.28 kB / 388.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.07024, allocations: 41.72 kB / 388.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 2.695e-06/0.07024, allocations: 0 / 388.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.003471/0.07371, allocations: 1.322 MB / 390.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.07382, allocations: 136.5 kB / 390.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008753/0.0747, allocations: 0.6391 MB / 390.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.07475, allocations: 41.7 kB / 391 MB, free: 13.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.07515, allocations: 439.1 kB / 391.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.07535, allocations: 182.6 kB / 391.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/0.07565, allocations: 168.2 kB / 391.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003817/0.07603, allocations: 0.582 MB / 392.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.0764, allocations: 161.9 kB / 392.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008694/0.07727, allocations: 0.6846 MB / 393.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.07854, allocations: 0.8068 MB / 394 MB, free: 9.684 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.07855, allocations: 4 kB / 394 MB, free: 9.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00226/0.08081, allocations: 0.8444 MB / 394.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.08084, allocations: 8 kB / 394.8 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.08085, allocations: 8 kB / 394.8 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.08204, allocations: 254.4 kB / 395.1 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.08253, allocations: 127.8 kB / 395.2 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.08381, allocations: 1.061 MB / 396.3 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.08434, allocations: 32.03 kB / 396.3 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.677e-05/0.08442, allocations: 39.98 kB / 396.4 MB, free: 7.27 MB / 330.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.0004015/0.08482, allocations: 252.3 kB / 396.6 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.08499, allocations: 83.58 kB / 396.7 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.08652, allocations: 0.6612 MB / 397.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.08654, allocations: 11.94 kB / 397.4 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.08654, allocations: 0 / 397.4 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.08655, allocations: 0 / 397.4 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.0891, allocations: 1.3 MB / 398.7 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.0891, allocations: 8 kB / 398.7 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.09012, allocations: 184 kB / 398.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003095/0.09043, allocations: 63.56 kB / 398.9 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.09047, allocations: 16 kB / 398.9 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004218/0.09469, allocations: 3.764 MB / 402.7 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.09469, allocations: 4 kB / 402.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.09659, allocations: 0.9438 MB / 403.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.09694, allocations: 107.6 kB / 403.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.93e-05/0.09703, allocations: 15.94 kB / 403.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.09741, allocations: 23.92 kB / 403.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.09753, allocations: 31.94 kB / 403.8 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.09759, allocations: 23.98 kB / 403.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005766/0.09816, allocations: 390.8 kB / 404.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09816, allocations: 3.938 kB / 404.2 MB, free: 15.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008747/0.09904, allocations: 207.9 kB / 404.4 MB, free: 14.81 MB / 346.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.0006502/0.09969, allocations: 234.7 kB / 404.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.101, allocations: 0.5455 MB / 405.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.101, allocations: 0 / 405.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.1023, allocations: 0.5046 MB / 405.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.1039, allocations: 319.1 kB / 406 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.1064, allocations: 1.271 MB / 407.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.1069, allocations: 333 kB / 407.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006336/0.1075, allocations: 190.6 kB / 407.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.1077, allocations: 56.48 kB / 407.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/0.1077, allocations: 0 / 407.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of Templates: time 0.02884/0.1365, allocations: 13.89 MB / 421.7 MB, free: 13.48 MB / 362.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.576791197992861]