Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 162 kB / 24.91 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.02/1.02, allocations: 177 MB / 205.2 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2573/0.2573, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.153e-05, allocations: 7.203 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.006422/0.006443, allocations: 7.323 MB / 333.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.009814, allocations: 2.488 MB / 335.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004328/0.01025, allocations: 27.75 kB / 335.8 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000537/0.01078, allocations: 218.5 kB / 336 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.01211, allocations: 0.7689 MB / 336.8 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.01352, allocations: 0.8305 MB / 337.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.01504, allocations: 1.863 MB / 339.4 MB, free: 9.574 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00045/0.01549, allocations: 422.2 kB / 339.9 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.01655, allocations: 1.009 MB / 340.9 MB, free: 8.148 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000555/0.0171, allocations: 0.5648 MB / 341.4 MB, free: 7.582 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.909e-05/0.01717, allocations: 56 kB / 341.5 MB, free: 7.527 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.01751, allocations: 195.7 kB / 341.7 MB, free: 7.336 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.01769, allocations: 279.1 kB / 342 MB, free: 7.062 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.0179, allocations: 279.3 kB / 342.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008374/0.01873, allocations: 0.7593 MB / 343 MB, free: 6.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.01874, allocations: 0 / 343 MB, free: 6.027 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.01874, allocations: 4 kB / 343 MB, free: 6.023 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.01875, allocations: 0 / 343 MB, free: 6.023 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.001194/0.01994, allocations: 0.9348 MB / 343.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.01997, allocations: 12.03 kB / 343.9 MB, free: 5.051 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.02021, allocations: 124.6 kB / 344.1 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.02067, allocations: 423.4 kB / 344.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.216e-05/0.02076, allocations: 152.4 kB / 344.6 MB, free: 4.316 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.664e-05/0.02083, allocations: 60.31 kB / 344.7 MB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.02141, allocations: 0.8147 MB / 345.5 MB, free: 3.305 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.02142, allocations: 0 / 345.5 MB, free: 3.305 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.02146, allocations: 20 kB / 345.5 MB, free: 3.285 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/0.0215, allocations: 36.98 kB / 345.5 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.0218, allocations: 248.2 kB / 345.8 MB, free: 3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.02377, allocations: 2.695 MB / 348.5 MB, free: 204 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.02412, allocations: 218.2 kB / 348.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.0242, allocations: 77.47 kB / 348.8 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.02432, allocations: 40.3 kB / 348.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.02435, allocations: 38.89 kB / 348.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.803e-06/0.02435, allocations: 0 / 348.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.001346/0.0257, allocations: 0.8257 MB / 349.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.02574, allocations: 132.5 kB / 349.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.02601, allocations: 478.8 kB / 350.3 MB, free: 14.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.02603, allocations: 33.7 kB / 350.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.02625, allocations: 329.2 kB / 350.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/0.02633, allocations: 178.5 kB / 350.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.02645, allocations: 134.5 kB / 350.9 MB, free: 13.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.02655, allocations: 370.7 kB / 351.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.759e-05/0.02664, allocations: 69.89 kB / 351.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.02689, allocations: 489.5 kB / 351.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.02726, allocations: 0.5122 MB / 352.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.02726, allocations: 7.938 kB / 352.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006185/0.02788, allocations: 0.5286 MB / 352.9 MB, free: 11.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.0279, allocations: 11.94 kB / 352.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.02791, allocations: 12.88 kB / 352.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000474/0.02838, allocations: 209.9 kB / 353.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.0286, allocations: 127.8 kB / 353.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000391/0.02899, allocations: 0.6365 MB / 353.9 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.02919, allocations: 28 kB / 353.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.02923, allocations: 31.98 kB / 353.9 MB, free: 10.27 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.0001519/0.02938, allocations: 172.4 kB / 354.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.02944, allocations: 55.94 kB / 354.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.02991, allocations: 397.5 kB / 354.5 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.02992, allocations: 4 kB / 354.6 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.02993, allocations: 11.98 kB / 354.6 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.02994, allocations: 3.938 kB / 354.6 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008386/0.03077, allocations: 0.7204 MB / 355.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.03078, allocations: 4 kB / 355.3 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.03117, allocations: 160.1 kB / 355.4 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.0313, allocations: 44.8 kB / 355.5 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.03132, allocations: 15.98 kB / 355.5 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.03252, allocations: 2.446 MB / 358 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.03252, allocations: 3.938 kB / 358 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.03299, allocations: 0.5364 MB / 358.5 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.0331, allocations: 75.55 kB / 358.6 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.03315, allocations: 16 kB / 358.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.03329, allocations: 8 kB / 358.6 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.03335, allocations: 39.88 kB / 358.6 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.03337, allocations: 15.98 kB / 358.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.03351, allocations: 196.4 kB / 358.8 MB, free: 5.074 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03351, allocations: 0 / 358.8 MB, free: 5.074 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004455/0.03395, allocations: 191.9 kB / 359 MB, free: 4.887 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.0002449/0.0342, allocations: 152.1 kB / 359.2 MB, free: 4.727 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000444/0.03464, allocations: 341.5 kB / 359.5 MB, free: 4.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/0.03466, allocations: 16.5 kB / 359.5 MB, free: 4.375 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.03509, allocations: 316.4 kB / 359.8 MB, free: 4.055 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.03582, allocations: 326.4 kB / 360.2 MB, free: 3.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.03729, allocations: 1.167 MB / 361.3 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.03739, allocations: 167.2 kB / 361.5 MB, free: 2.348 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.03767, allocations: 115.3 kB / 361.6 MB, free: 2.238 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/0.03808, allocations: 275 kB / 361.9 MB, free: 1.969 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.03808, allocations: 0 / 361.9 MB, free: 1.969 MB / 330.7 MB Notification: Performance of Templates: time 0.01514/0.05322, allocations: 13.86 MB / 375.7 MB, free: 4.434 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.201137891970575]