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.0009657/0.0009657, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.00107/0.00107, allocations: 162.2 kB / 24.99 MB, free: 8.801 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.025/1.025, allocations: 177 MB / 205.2 MB, free: 5.59 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.3392/0.3392, allocations: 34.86 MB / 296.6 MB, free: 0.5781 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.542e-06/1.542e-06, allocations: 0 / 378.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.999e-05, allocations: 2.312 kB / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01844/0.01846, allocations: 21.1 MB / 399.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00512/0.02358, allocations: 4.353 MB / 404.2 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005131/0.02409, allocations: 31.69 kB / 404.2 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.02484, allocations: 309.8 kB / 404.5 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.0264, allocations: 0.9165 MB / 405.5 MB, free: 7.609 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.02826, allocations: 0.9346 MB / 406.4 MB, free: 6.672 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.03009, allocations: 1.828 MB / 408.2 MB, free: 4.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006456/0.03073, allocations: 421.8 kB / 408.6 MB, free: 4.418 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.03249, allocations: 1.172 MB / 409.8 MB, free: 3.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.03354, allocations: 0.6116 MB / 410.4 MB, free: 2.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.03373, allocations: 60 kB / 410.5 MB, free: 2.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007058/0.03444, allocations: 295.4 kB / 410.8 MB, free: 2.281 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.03467, allocations: 279.2 kB / 411 MB, free: 2.008 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.03494, allocations: 283.3 kB / 411.3 MB, free: 1.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.03606, allocations: 0.8411 MB / 412.1 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.03606, allocations: 0 / 412.1 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.03606, allocations: 0 / 412.1 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.03608, allocations: 0 / 412.1 MB, free: 0.8867 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.001522/0.0376, allocations: 1.098 MB / 413.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.03764, allocations: 8.031 kB / 413.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/0.03795, allocations: 148.2 kB / 413.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.03852, allocations: 0.4929 MB / 413.9 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.03863, allocations: 156.4 kB / 414 MB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/0.03871, allocations: 52.38 kB / 414.1 MB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.0395, allocations: 0.9214 MB / 415 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.03952, allocations: 4 kB / 415 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.03956, allocations: 23.94 kB / 415 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/0.03961, allocations: 40.98 kB / 415.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.04006, allocations: 305.5 kB / 415.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.0427, allocations: 3.926 MB / 419.3 MB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.04317, allocations: 264.5 kB / 419.6 MB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.04331, allocations: 100.3 kB / 419.7 MB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.04347, allocations: 56.28 kB / 419.7 MB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.0435, allocations: 41.72 kB / 419.8 MB, free: 8.844 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.0435, allocations: 7.938 kB / 419.8 MB, free: 8.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.001664/0.04516, allocations: 1.02 MB / 420.8 MB, free: 7.777 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.04522, allocations: 136.5 kB / 420.9 MB, free: 7.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.0456, allocations: 0.5335 MB / 421.5 MB, free: 7.062 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.04563, allocations: 33.7 kB / 421.5 MB, free: 7.023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.04582, allocations: 419.1 kB / 421.9 MB, free: 6.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.23e-05/0.04591, allocations: 174.5 kB / 422.1 MB, free: 6.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.04605, allocations: 144.2 kB / 422.2 MB, free: 6.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.0462, allocations: 0.5469 MB / 422.8 MB, free: 5.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.04635, allocations: 89.94 kB / 422.8 MB, free: 5.645 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.04672, allocations: 0.6066 MB / 423.5 MB, free: 4.832 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.04725, allocations: 0.6467 MB / 424.1 MB, free: 4.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.04725, allocations: 4 kB / 424.1 MB, free: 4.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008873/0.04814, allocations: 0.6835 MB / 424.8 MB, free: 3.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.04815, allocations: 12.94 kB / 424.8 MB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.04816, allocations: 8 kB / 424.8 MB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.04869, allocations: 209.6 kB / 425 MB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.04891, allocations: 123.8 kB / 425.1 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005298/0.04944, allocations: 0.9482 MB / 426.1 MB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.04965, allocations: 28 kB / 426.1 MB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.04968, allocations: 32 kB / 426.1 MB, free: 1.922 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.0001502/0.04984, allocations: 216.3 kB / 426.3 MB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.211e-05/0.04993, allocations: 79.58 kB / 426.4 MB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006872/0.05061, allocations: 0.5004 MB / 426.9 MB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.05063, allocations: 15.92 kB / 426.9 MB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.05063, allocations: 0 / 426.9 MB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.05063, allocations: 4 kB / 426.9 MB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.05168, allocations: 1.007 MB / 428 MB, free: 8 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.05168, allocations: 0 / 428 MB, free: 8 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.05217, allocations: 196 kB / 428.1 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.05231, allocations: 55.61 kB / 428.2 MB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.05233, allocations: 12 kB / 428.2 MB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.05378, allocations: 3.613 MB / 431.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.05378, allocations: 0 / 431.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007187/0.0545, allocations: 0.694 MB / 432.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.05463, allocations: 103.6 kB / 432.6 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.05468, allocations: 19.92 kB / 432.6 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.05485, allocations: 16 kB / 432.7 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.05491, allocations: 40.02 kB / 432.7 MB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.05494, allocations: 19.98 kB / 432.7 MB, free: 10.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002198/0.05516, allocations: 334.8 kB / 433 MB, free: 10.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05516, allocations: 0 / 433 MB, free: 10.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004534/0.05562, allocations: 207.9 kB / 433.2 MB, free: 10.42 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.0002921/0.05591, allocations: 221.9 kB / 433.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005849/0.05649, allocations: 407.1 kB / 433.9 MB, free: 9.797 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.05649, allocations: 0 / 433.9 MB, free: 9.797 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005942/0.05709, allocations: 433.2 kB / 434.3 MB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008117/0.0579, allocations: 320.9 kB / 434.6 MB, free: 9.047 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.05954, allocations: 1.196 MB / 435.8 MB, free: 7.789 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.05966, allocations: 179 kB / 436 MB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003526/0.06001, allocations: 180.8 kB / 436.1 MB, free: 7.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.934e-05/0.06011, allocations: 56.5 kB / 436.2 MB, free: 7.375 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.06011, allocations: 0 / 436.2 MB, free: 7.375 MB / 410.7 MB Notification: Performance of Templates: time 0.1514/0.2115, allocations: 13.9 MB / 450.1 MB, free: 102.9 MB / 410.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.649842025944963]