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.001077/0.001077, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001091/0.001091, allocations: 163.1 kB / 24.82 MB, free: 9.266 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.044/1.044, allocations: 177 MB / 205.1 MB, free: 5.465 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.2789/0.2789, allocations: 34.87 MB / 296.6 MB, free: 0.5156 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 2.825e-06/2.825e-06, allocations: 0 / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.396e-05/3.679e-05, allocations: 3.297 kB / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.009878/0.009914, allocations: 7.305 MB / 386.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005359/0.01527, allocations: 2.449 MB / 389 MB, free: 8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005614/0.01583, allocations: 27.75 kB / 389 MB, free: 7.973 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.01639, allocations: 206.6 kB / 389.2 MB, free: 7.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.0179, allocations: 0.7689 MB / 390 MB, free: 6.996 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.01966, allocations: 0.8299 MB / 390.8 MB, free: 6.164 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.0213, allocations: 1.859 MB / 392.7 MB, free: 4.301 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005082/0.02181, allocations: 433.7 kB / 393.1 MB, free: 3.875 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.02308, allocations: 1.001 MB / 394.1 MB, free: 2.871 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007225/0.0238, allocations: 0.596 MB / 394.7 MB, free: 2.273 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.926e-05/0.0239, allocations: 60 kB / 394.8 MB, free: 2.215 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.02429, allocations: 199.7 kB / 395 MB, free: 2.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.02454, allocations: 279.1 kB / 395.2 MB, free: 1.746 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.02483, allocations: 271.4 kB / 395.5 MB, free: 1.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009345/0.02577, allocations: 0.7592 MB / 396.3 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.02577, allocations: 4 kB / 396.3 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02577, allocations: 0 / 396.3 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.02578, allocations: 0 / 396.3 MB, free: 0.7148 MB / 362.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.001684/0.02746, allocations: 1.075 MB / 397.3 MB, free: 15.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.0275, allocations: 8.031 kB / 397.3 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003764/0.02788, allocations: 152.2 kB / 397.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000692/0.02857, allocations: 488.7 kB / 398 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.02869, allocations: 156.3 kB / 398.1 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-05/0.02878, allocations: 52.38 kB / 398.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008798/0.02966, allocations: 0.8533 MB / 399 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.02968, allocations: 11.94 kB / 399 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/0.02974, allocations: 24 kB / 399.1 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.309e-05/0.0298, allocations: 36.98 kB / 399.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004906/0.03029, allocations: 250.5 kB / 399.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.03392, allocations: 3.805 MB / 403.2 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.03447, allocations: 255.1 kB / 403.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.03462, allocations: 88.28 kB / 403.5 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.03479, allocations: 42.8 kB / 403.5 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.03483, allocations: 41.72 kB / 403.6 MB, free: 9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.03484, allocations: 0 / 403.6 MB, free: 9 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001898/0.03673, allocations: 0.8641 MB / 404.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.0368, allocations: 132.5 kB / 404.6 MB, free: 7.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.03732, allocations: 0.5371 MB / 405.1 MB, free: 7.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.03736, allocations: 33.7 kB / 405.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.03764, allocations: 430.9 kB / 405.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.03779, allocations: 178.6 kB / 405.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.038, allocations: 152.2 kB / 405.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.03822, allocations: 0.5507 MB / 406.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.03838, allocations: 73.92 kB / 406.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/0.03888, allocations: 0.6116 MB / 407.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/0.0396, allocations: 0.6494 MB / 407.8 MB, free: 4.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.03961, allocations: 4 kB / 407.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001275/0.04089, allocations: 0.637 MB / 408.4 MB, free: 3.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.04092, allocations: 15.94 kB / 408.4 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.04093, allocations: 8 kB / 408.4 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008396/0.04177, allocations: 212.1 kB / 408.6 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.04213, allocations: 131.8 kB / 408.8 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007492/0.04288, allocations: 0.9209 MB / 409.7 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.04325, allocations: 28 kB / 409.7 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/0.04331, allocations: 35.98 kB / 409.7 MB, free: 2.25 MB / 378.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.0002144/0.04353, allocations: 208.3 kB / 409.9 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.04365, allocations: 79.61 kB / 410 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008408/0.04449, allocations: 477.3 kB / 410.5 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.0445, allocations: 4 kB / 410.5 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.04451, allocations: 7.938 kB / 410.5 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.04452, allocations: 3.984 kB / 410.5 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.0458, allocations: 0.8668 MB / 411.4 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.0458, allocations: 0 / 411.4 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.0462, allocations: 159.8 kB / 411.5 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.04634, allocations: 67.75 kB / 411.6 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.04636, allocations: 12 kB / 411.6 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.04783, allocations: 3.563 MB / 415.2 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.04784, allocations: 4 kB / 415.2 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/0.04842, allocations: 0.638 MB / 415.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.04855, allocations: 99.56 kB / 415.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.04859, allocations: 16 kB / 415.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.04874, allocations: 8 kB / 415.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.0488, allocations: 35.88 kB / 416 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.04882, allocations: 19.98 kB / 416 MB, free: 11.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.049, allocations: 318.6 kB / 416.3 MB, free: 11.31 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.049, allocations: 0 / 416.3 MB, free: 11.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004616/0.04947, allocations: 203.8 kB / 416.5 MB, free: 11.11 MB / 394.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.0003248/0.04979, allocations: 167.1 kB / 416.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004457/0.05024, allocations: 364 kB / 417 MB, free: 10.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.05024, allocations: 0 / 417 MB, free: 10.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007545/0.05099, allocations: 394.8 kB / 417.4 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007473/0.05174, allocations: 322 kB / 417.7 MB, free: 9.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.05358, allocations: 1.192 MB / 418.9 MB, free: 8.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.05369, allocations: 171.2 kB / 419.1 MB, free: 8.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000302/0.05399, allocations: 117.3 kB / 419.2 MB, free: 8.316 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004481/0.05444, allocations: 337.9 kB / 419.5 MB, free: 7.984 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.05444, allocations: 0 / 419.5 MB, free: 7.984 MB / 394.7 MB Notification: Performance of Templates: time 0.019/0.07344, allocations: 13.84 MB / 433.4 MB, free: 10.42 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.5525758899748325]