Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009605/0.0009605, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001098/0.001098, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 1.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2607/0.2607, allocations: 34.25 MB / 295.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 3.938 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.154e-05, allocations: 9.688 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01034/0.01037, allocations: 7.389 MB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004872/0.01524, allocations: 2.449 MB / 387.9 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006098/0.01585, allocations: 27.75 kB / 387.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006939/0.01654, allocations: 218.5 kB / 388.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.01837, allocations: 0.7689 MB / 388.9 MB, free: 7.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.02044, allocations: 0.83 MB / 389.7 MB, free: 6.898 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002271/0.02271, allocations: 1.855 MB / 391.6 MB, free: 5.039 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008196/0.02353, allocations: 425.8 kB / 392 MB, free: 4.621 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.02548, allocations: 1.009 MB / 393 MB, free: 3.609 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.0268, allocations: 0.596 MB / 393.6 MB, free: 3.012 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.027, allocations: 60 kB / 393.7 MB, free: 2.953 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005604/0.02756, allocations: 195.7 kB / 393.9 MB, free: 2.762 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.02786, allocations: 279.2 kB / 394.1 MB, free: 2.488 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004503/0.02831, allocations: 283.3 kB / 394.4 MB, free: 2.211 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.02957, allocations: 0.7476 MB / 395.2 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.02957, allocations: 0 / 395.2 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02957, allocations: 0 / 395.2 MB, free: 1.461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.0296, allocations: 0 / 395.2 MB, free: 1.461 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.002012/0.03161, allocations: 1.079 MB / 396.2 MB, free: 352 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.03165, allocations: 12.03 kB / 396.2 MB, free: 340 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004681/0.03212, allocations: 160.1 kB / 396.4 MB, free: 180 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000845/0.03297, allocations: 496.7 kB / 396.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.0331, allocations: 152.4 kB / 397 MB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.03321, allocations: 52.38 kB / 397.1 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.03431, allocations: 0.8925 MB / 398 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.03434, allocations: 7.938 kB / 398 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.0344, allocations: 27.98 kB / 398 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.464e-05/0.03447, allocations: 40.98 kB / 398.1 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007223/0.03519, allocations: 309.5 kB / 398.4 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00403/0.03922, allocations: 3.899 MB / 402.3 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006708/0.03989, allocations: 280.4 kB / 402.5 MB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.04009, allocations: 96.3 kB / 402.6 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.04028, allocations: 40.3 kB / 402.7 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.04032, allocations: 45.66 kB / 402.7 MB, free: 9.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.495e-06/0.04032, allocations: 0 / 402.7 MB, free: 9.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.002352/0.04267, allocations: 1.004 MB / 403.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.04273, allocations: 132.5 kB / 403.8 MB, free: 8.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.04331, allocations: 0.5413 MB / 404.4 MB, free: 7.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.04334, allocations: 33.7 kB / 404.4 MB, free: 7.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.04362, allocations: 431 kB / 404.8 MB, free: 7.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.04376, allocations: 174.6 kB / 405 MB, free: 7.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.04396, allocations: 148.2 kB / 405.2 MB, free: 6.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.04416, allocations: 0.543 MB / 405.7 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.04441, allocations: 101.9 kB / 405.8 MB, free: 6.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005341/0.04494, allocations: 0.6196 MB / 406.4 MB, free: 5.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.04579, allocations: 0.6846 MB / 407.1 MB, free: 4.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.04579, allocations: 4 kB / 407.1 MB, free: 4.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001685/0.04748, allocations: 0.7037 MB / 407.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.0475, allocations: 8 kB / 407.8 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.04752, allocations: 19.98 kB / 407.8 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008325/0.04835, allocations: 207.7 kB / 408 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.04875, allocations: 131.8 kB / 408.2 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007494/0.0495, allocations: 0.9474 MB / 409.1 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.0499, allocations: 28 kB / 409.1 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.04996, allocations: 35.98 kB / 409.2 MB, free: 2.441 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.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 (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.0002215/0.05018, allocations: 208.3 kB / 409.4 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.05031, allocations: 79.62 kB / 409.5 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009615/0.05127, allocations: 498.4 kB / 409.9 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.05128, allocations: 11.94 kB / 410 MB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.05129, allocations: 0 / 410 MB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.0513, allocations: 7.984 kB / 410 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.05289, allocations: 0.9911 MB / 411 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.0529, allocations: 0 / 411 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007417/0.05364, allocations: 183.8 kB / 411.1 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/0.05386, allocations: 55.77 kB / 411.2 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.0539, allocations: 16.05 kB / 411.2 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/0.05633, allocations: 3.612 MB / 414.8 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.05633, allocations: 4 kB / 414.8 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.05741, allocations: 0.6771 MB / 415.5 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.05762, allocations: 99.7 kB / 415.6 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/0.0577, allocations: 23.91 kB / 415.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.05797, allocations: 16.06 kB / 415.6 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.05807, allocations: 39.88 kB / 415.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.05811, allocations: 23.98 kB / 415.7 MB, free: 11.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003612/0.05847, allocations: 330.8 kB / 416 MB, free: 11.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.05847, allocations: 0 / 416 MB, free: 11.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008216/0.05929, allocations: 191.9 kB / 416.2 MB, free: 11.01 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.0003375/0.05963, allocations: 171 kB / 416.4 MB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009424/0.06057, allocations: 395.5 kB / 416.8 MB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.06057, allocations: 0 / 416.8 MB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.06146, allocations: 431.7 kB / 417.2 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.06277, allocations: 325.5 kB / 417.5 MB, free: 9.691 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.06531, allocations: 1.197 MB / 418.7 MB, free: 8.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.06547, allocations: 179.1 kB / 418.9 MB, free: 8.234 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005516/0.06603, allocations: 175.5 kB / 419 MB, free: 8.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.06618, allocations: 52.48 kB / 419.1 MB, free: 8.016 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/0.06618, allocations: 0 / 419.1 MB, free: 8.016 MB / 394.7 MB Notification: Performance of Templates: time 0.02579/0.09197, allocations: 13.74 MB / 432.8 MB, free: 10.57 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.6886906940490007]