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.0009203/0.0009203, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.0009298/0.0009298, allocations: 170.5 kB / 24.91 MB, free: 9.18 MB / 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 0.9359/0.9359, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.2621/0.2621, allocations: 32.8 MB / 294.6 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] 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.513e-06/1.513e-06, allocations: 0 / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.508e-05, allocations: 6.25 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.007132/0.007147, allocations: 7.324 MB / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003512/0.01066, allocations: 2.484 MB / 333 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.01095, allocations: 27.75 kB / 333.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.01136, allocations: 210.4 kB / 333.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.0124, allocations: 0.7767 MB / 334.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.01365, allocations: 0.826 MB / 334.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.01499, allocations: 1.855 MB / 336.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.01534, allocations: 434 kB / 337.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008672/0.0162, allocations: 1.009 MB / 338.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004863/0.01669, allocations: 0.5648 MB / 338.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.01675, allocations: 56 kB / 338.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.01701, allocations: 195.7 kB / 339 MB, free: 9.875 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.01719, allocations: 279.2 kB / 339.3 MB, free: 9.602 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.0174, allocations: 275.3 kB / 339.5 MB, free: 9.332 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009281/0.01833, allocations: 0.7554 MB / 340.3 MB, free: 8.574 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-06/0.01833, allocations: 4 kB / 340.3 MB, free: 8.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01833, allocations: 0 / 340.3 MB, free: 8.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.01833, allocations: 0 / 340.3 MB, free: 8.57 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.0009724/0.01931, allocations: 0.9387 MB / 341.2 MB, free: 7.605 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.611e-05/0.01933, allocations: 8.031 kB / 341.2 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.01954, allocations: 132.6 kB / 341.4 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.01996, allocations: 423.4 kB / 341.8 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.02004, allocations: 152.4 kB / 341.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.02011, allocations: 64.25 kB / 342 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.02064, allocations: 0.807 MB / 342.8 MB, free: 5.848 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.02066, allocations: 4 kB / 342.8 MB, free: 5.844 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.02069, allocations: 23.98 kB / 342.8 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.02073, allocations: 40.92 kB / 342.9 MB, free: 5.777 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.02102, allocations: 244.3 kB / 343.1 MB, free: 5.539 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.02285, allocations: 2.687 MB / 345.8 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.02316, allocations: 229.5 kB / 346 MB, free: 2.516 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.589e-05/0.02324, allocations: 78.14 kB / 346.1 MB, free: 2.438 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.475e-05/0.02334, allocations: 40.3 kB / 346.1 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.02336, allocations: 38.89 kB / 346.2 MB, free: 2.352 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.352e-06/0.02336, allocations: 0 / 346.2 MB, free: 2.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001313/0.02468, allocations: 0.8259 MB / 347 MB, free: 1.492 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.02472, allocations: 132.5 kB / 347.1 MB, free: 1.332 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.02535, allocations: 478.8 kB / 347.6 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.02538, allocations: 29.7 kB / 347.6 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.02551, allocations: 325.2 kB / 347.9 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/0.0256, allocations: 182.4 kB / 348.1 MB, free: 320 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.02572, allocations: 138.5 kB / 348.2 MB, free: 176 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.02583, allocations: 374.7 kB / 348.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.02591, allocations: 65.95 kB / 348.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.02616, allocations: 485.5 kB / 349.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.02652, allocations: 0.516 MB / 349.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.02652, allocations: 4 kB / 349.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005961/0.02712, allocations: 0.5292 MB / 350.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.02714, allocations: 11.94 kB / 350.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.02715, allocations: 12 kB / 350.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004359/0.02758, allocations: 199.9 kB / 350.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.02779, allocations: 127.8 kB / 350.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003694/0.02816, allocations: 0.65 MB / 351.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.02835, allocations: 31.98 kB / 351.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.02838, allocations: 28 kB / 351.3 MB, free: 12.8 MB / 330.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.0001415/0.02852, allocations: 164.4 kB / 351.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.02858, allocations: 55.94 kB / 351.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.02903, allocations: 399.7 kB / 351.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.02903, allocations: 11.92 kB / 351.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.02904, allocations: 4 kB / 351.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.02904, allocations: 3.938 kB / 351.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007005/0.02974, allocations: 0.7214 MB / 352.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.02975, allocations: 4 kB / 352.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.03012, allocations: 159.8 kB / 352.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/0.03024, allocations: 49.02 kB / 352.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.03027, allocations: 19.92 kB / 352.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.03162, allocations: 2.445 MB / 355.3 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.03162, allocations: 3.938 kB / 355.3 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.03207, allocations: 0.5285 MB / 355.8 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.03218, allocations: 75.55 kB / 355.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.03222, allocations: 20.06 kB / 355.9 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.03236, allocations: 8 kB / 355.9 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.03241, allocations: 39.88 kB / 355.9 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.03243, allocations: 15.98 kB / 356 MB, free: 7.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.03257, allocations: 196.4 kB / 356.2 MB, free: 7.605 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03257, allocations: 0 / 356.2 MB, free: 7.605 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003907/0.03296, allocations: 195.8 kB / 356.3 MB, free: 7.414 MB / 330.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.0002191/0.03318, allocations: 145.3 kB / 356.5 MB, free: 7.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004014/0.03358, allocations: 340 kB / 356.8 MB, free: 6.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.03359, allocations: 9.938 kB / 356.8 MB, free: 6.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.03401, allocations: 336.8 kB / 357.2 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.03469, allocations: 330.9 kB / 357.5 MB, free: 6.281 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.03608, allocations: 1.163 MB / 358.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.795e-05/0.03617, allocations: 167.2 kB / 358.8 MB, free: 4.871 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002411/0.03642, allocations: 112.6 kB / 358.9 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.03682, allocations: 279 kB / 359.2 MB, free: 4.492 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.03682, allocations: 0 / 359.2 MB, free: 4.492 MB / 330.7 MB Notification: Performance of Templates: time 0.015/0.05182, allocations: 13.86 MB / 373 MB, free: 6.957 MB / 346.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","",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.2038245922885835]