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.001603/0.001603, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001701/0.001701, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.399/1.399, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 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.2055/0.2055, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 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.223e-06/1.223e-06, allocations: 0 / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.19e-05, allocations: 2.281 kB / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.1963/0.1963, allocations: 18.57 MB / 458.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005461/0.2018, allocations: 3.99 MB / 462.7 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006357/0.2024, allocations: 27.16 kB / 462.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000869/0.2033, allocations: 307.7 kB / 463 MB, free: 8.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.2055, allocations: 0.9122 MB / 463.9 MB, free: 8.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.2081, allocations: 0.9572 MB / 464.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002452/0.2105, allocations: 1.821 MB / 466.7 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007057/0.2112, allocations: 392 kB / 467.1 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.2135, allocations: 1.175 MB / 468.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.2146, allocations: 0.623 MB / 468.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.2147, allocations: 59.75 kB / 468.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007877/0.2155, allocations: 285.2 kB / 469.2 MB, free: 6.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.2158, allocations: 283.5 kB / 469.5 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.2161, allocations: 282.3 kB / 469.8 MB, free: 5.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.2174, allocations: 1.112 MB / 470.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2174, allocations: 0 / 470.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2174, allocations: 0 / 470.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2174, allocations: 4 kB / 470.9 MB, free: 5.539 MB / 366.1 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.001897/0.2193, allocations: 0.9901 MB / 471.9 MB, free: 4.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2193, allocations: 9.594 kB / 471.9 MB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/0.2197, allocations: 96.91 kB / 472 MB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.2204, allocations: 470.9 kB / 472.4 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-05/0.2205, allocations: 156.9 kB / 472.6 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.884e-05/0.2206, allocations: 52.36 kB / 472.6 MB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.2217, allocations: 1.075 MB / 473.7 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.2218, allocations: 6.125 kB / 473.7 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.2218, allocations: 26.61 kB / 473.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/0.2219, allocations: 37.55 kB / 473.8 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009848/0.2229, allocations: 0.6452 MB / 474.4 MB, free: 3.191 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003522/0.2264, allocations: 3.319 MB / 477.7 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008415/0.2272, allocations: 401.2 kB / 478.1 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.2275, allocations: 193.6 kB / 478.3 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.2278, allocations: 58.09 kB / 478.4 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.2278, allocations: 39.27 kB / 478.4 MB, free: 20 kB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.733e-06/0.2278, allocations: 0 / 478.4 MB, free: 20 kB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003274/0.2311, allocations: 1.463 MB / 479.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.2312, allocations: 135.4 kB / 480 MB, free: 14.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.2318, allocations: 0.514 MB / 480.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.2318, allocations: 36.45 kB / 480.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.2321, allocations: 371.7 kB / 480.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.2322, allocations: 166.9 kB / 481.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.2324, allocations: 136.2 kB / 481.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.2326, allocations: 369.1 kB / 481.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.233, allocations: 229.4 kB / 481.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006881/0.2337, allocations: 0.6025 MB / 482.4 MB, free: 13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.2348, allocations: 0.7751 MB / 483.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.2348, allocations: 2.75 kB / 483.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00186/0.2367, allocations: 0.9388 MB / 484.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.2367, allocations: 9.344 kB / 484.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.2367, allocations: 10 kB / 484.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.2378, allocations: 266.6 kB / 484.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.2382, allocations: 131.7 kB / 484.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.2393, allocations: 0.8592 MB / 485.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.2397, allocations: 25.78 kB / 485.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.2398, allocations: 36.16 kB / 485.4 MB, free: 10.97 MB / 382.1 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.0003396/0.2401, allocations: 247.8 kB / 485.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.2402, allocations: 61.16 kB / 485.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.2416, allocations: 0.7135 MB / 486.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.2416, allocations: 9.172 kB / 486.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.2416, allocations: 8.062 kB / 486.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2416, allocations: 0 / 486.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.2437, allocations: 1.236 MB / 487.7 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2437, allocations: 2.75 kB / 487.7 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.2447, allocations: 193.5 kB / 487.9 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002519/0.2449, allocations: 55.08 kB / 488 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.245, allocations: 19.61 kB / 488 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.2476, allocations: 2.731 MB / 490.7 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2476, allocations: 2.344 kB / 490.7 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.2493, allocations: 0.991 MB / 491.7 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.2495, allocations: 115.6 kB / 491.8 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.758e-05/0.2496, allocations: 12 kB / 491.8 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.25, allocations: 19.94 kB / 491.8 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.2501, allocations: 39.86 kB / 491.9 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.2501, allocations: 25.25 kB / 491.9 MB, free: 5.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004558/0.2506, allocations: 346.8 kB / 492.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2506, allocations: 0 / 492.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008338/0.2514, allocations: 211.8 kB / 492.5 MB, free: 4.957 MB / 382.1 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.0004259/0.2519, allocations: 225.4 kB / 492.7 MB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.2531, allocations: 0.5804 MB / 493.3 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2531, allocations: 1.625 kB / 493.3 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.2543, allocations: 475.7 kB / 493.7 MB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.2559, allocations: 329.1 kB / 494 MB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.2581, allocations: 1.306 MB / 495.4 MB, free: 2.008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.2585, allocations: 341.1 kB / 495.7 MB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005616/0.259, allocations: 197.9 kB / 495.9 MB, free: 1.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.2592, allocations: 60.42 kB / 495.9 MB, free: 1.41 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2592, allocations: 0 / 495.9 MB, free: 1.41 MB / 382.1 MB Notification: Performance of Templates: time 0.02452/0.2837, allocations: 13.83 MB / 0.4978 GB, free: 3.891 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] 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.160831645131111]