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.001085/0.001085, allocations: 80.8 kB / 21.49 MB, free: 3 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.007825/0.007825, allocations: 172.7 kB / 24.91 MB, free: 9.215 MB / 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.2921/0.2921, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 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.513e-06/1.513e-06, allocations: 0 / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.541e-05, allocations: 4.141 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.007396/0.007421, allocations: 7.371 MB / 330.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.01131, allocations: 2.48 MB / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004542/0.01177, allocations: 27.75 kB / 333.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005557/0.01232, allocations: 218.5 kB / 333.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.01364, allocations: 0.7728 MB / 334.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.01521, allocations: 0.8065 MB / 335 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00203/0.01724, allocations: 1.855 MB / 336.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007061/0.01795, allocations: 422.1 kB / 337.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.0195, allocations: 1.001 MB / 338.2 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007996/0.0203, allocations: 0.5609 MB / 338.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.02041, allocations: 60 kB / 338.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000472/0.02089, allocations: 207.7 kB / 339 MB, free: 9.824 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.0211, allocations: 279.2 kB / 339.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.02132, allocations: 271.4 kB / 339.6 MB, free: 9.285 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009384/0.02226, allocations: 0.7554 MB / 340.3 MB, free: 8.527 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.02226, allocations: 4 kB / 340.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.02226, allocations: 0 / 340.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.02228, allocations: 0 / 340.3 MB, free: 8.523 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.001503/0.02378, allocations: 0.9348 MB / 341.3 MB, free: 7.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.02382, allocations: 8.031 kB / 341.3 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003084/0.02413, allocations: 144.5 kB / 341.4 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.0247, allocations: 419.5 kB / 341.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.02483, allocations: 152.4 kB / 342 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.0249, allocations: 56.33 kB / 342 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006986/0.0256, allocations: 0.8109 MB / 342.9 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.02562, allocations: 3.938 kB / 342.9 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.02566, allocations: 23.98 kB / 342.9 MB, free: 5.773 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/0.02571, allocations: 40.98 kB / 342.9 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.02606, allocations: 244.2 kB / 343.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.0285, allocations: 2.691 MB / 345.9 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.02903, allocations: 219.7 kB / 346.1 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.02915, allocations: 81.3 kB / 346.1 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.0293, allocations: 40.3 kB / 346.2 MB, free: 2.355 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.02933, allocations: 38.89 kB / 346.2 MB, free: 2.309 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 2.234e-06/0.02933, allocations: 0 / 346.2 MB, free: 2.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001447/0.03078, allocations: 0.8291 MB / 347.1 MB, free: 1.445 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.03084, allocations: 136.5 kB / 347.2 MB, free: 1.281 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.03116, allocations: 470.8 kB / 347.6 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.03119, allocations: 33.7 kB / 347.7 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.03133, allocations: 329.2 kB / 348 MB, free: 452 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.03143, allocations: 174.5 kB / 348.2 MB, free: 276 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.03157, allocations: 138.5 kB / 348.3 MB, free: 132 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.03169, allocations: 370.7 kB / 348.7 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.694e-05/0.03178, allocations: 65.95 kB / 348.7 MB, free: 15.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.03211, allocations: 493.4 kB / 349.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.03253, allocations: 0.5121 MB / 349.7 MB, free: 14.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.03254, allocations: 4 kB / 349.7 MB, free: 14.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007313/0.03327, allocations: 0.5256 MB / 350.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.03329, allocations: 11.94 kB / 350.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.03331, allocations: 12 kB / 350.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/0.03388, allocations: 210 kB / 350.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.03414, allocations: 139.7 kB / 350.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00043/0.03457, allocations: 0.6437 MB / 351.3 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.0348, allocations: 28 kB / 351.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.03483, allocations: 28 kB / 351.3 MB, free: 12.75 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.0001884/0.03502, allocations: 168.3 kB / 351.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.4e-05/0.0351, allocations: 55.94 kB / 351.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/0.03562, allocations: 400.9 kB / 351.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.03563, allocations: 4 kB / 351.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.03563, allocations: 4 kB / 351.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.03564, allocations: 3.938 kB / 351.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.03666, allocations: 0.7254 MB / 352.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.03666, allocations: 8 kB / 352.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/0.03712, allocations: 163.8 kB / 352.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000164/0.03729, allocations: 48.86 kB / 352.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.03732, allocations: 16 kB / 352.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.03874, allocations: 2.449 MB / 355.3 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.03875, allocations: 7.984 kB / 355.4 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006048/0.03935, allocations: 0.5323 MB / 355.9 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.03948, allocations: 75.55 kB / 356 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.03953, allocations: 12 kB / 356 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.03969, allocations: 16.06 kB / 356 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.03977, allocations: 47.8 kB / 356 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.03979, allocations: 12 kB / 356 MB, free: 7.723 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001536/0.03995, allocations: 196.4 kB / 356.2 MB, free: 7.531 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03995, allocations: 0 / 356.2 MB, free: 7.531 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005339/0.04048, allocations: 191.9 kB / 356.4 MB, free: 7.344 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.000256/0.04074, allocations: 144.1 kB / 356.6 MB, free: 7.191 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005413/0.04128, allocations: 340.7 kB / 356.9 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.132e-05/0.0413, allocations: 12.5 kB / 356.9 MB, free: 6.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005134/0.04181, allocations: 325.6 kB / 357.2 MB, free: 6.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/0.04263, allocations: 335.6 kB / 357.6 MB, free: 6.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.0445, allocations: 1.159 MB / 358.7 MB, free: 4.996 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.04461, allocations: 163.2 kB / 358.9 MB, free: 4.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004325/0.04504, allocations: 113.4 kB / 359 MB, free: 4.703 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/0.04553, allocations: 279 kB / 359.3 MB, free: 4.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.443e-06/0.04553, allocations: 0 / 359.3 MB, free: 4.43 MB / 330.7 MB Notification: Performance of Templates: time 0.01787/0.0634, allocations: 13.92 MB / 373.2 MB, free: 6.848 MB / 346.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] 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","",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.315049545839429]