Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001013/0.001013, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001155/0.001155, allocations: 165.9 kB / 24.84 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9205/0.9205, allocations: 158.6 MB / 186.7 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1375/0.1375, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.969e-05, allocations: 6.25 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.005173/0.005192, allocations: 7.234 MB / 356.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002844/0.008036, allocations: 2.445 MB / 358.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004091/0.008445, allocations: 27.75 kB / 358.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.008952, allocations: 210.5 kB / 358.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.01016, allocations: 0.7689 MB / 359.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.01211, allocations: 0.8339 MB / 360.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.01391, allocations: 1.859 MB / 362.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007448/0.01466, allocations: 429.7 kB / 362.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.01611, allocations: 1.001 MB / 363.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007885/0.0169, allocations: 0.596 MB / 364.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.654e-05/0.017, allocations: 60 kB / 364.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.0174, allocations: 195.7 kB / 364.6 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.01762, allocations: 283.1 kB / 364.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.01785, allocations: 275.4 kB / 365.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009062/0.01875, allocations: 0.7554 MB / 365.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01876, allocations: 0 / 365.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01876, allocations: 4 kB / 365.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.01877, allocations: 0 / 365.9 MB, free: 8.145 MB / 298.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.001713/0.02048, allocations: 1.075 MB / 367 MB, free: 7.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.02052, allocations: 8.031 kB / 367 MB, free: 7.023 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.02083, allocations: 156.2 kB / 367.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005638/0.02139, allocations: 484.8 kB / 367.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.0215, allocations: 156.4 kB / 367.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.445e-05/0.02157, allocations: 56.36 kB / 367.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006769/0.02225, allocations: 0.8784 MB / 368.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.02227, allocations: 7.938 kB / 368.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.02231, allocations: 20 kB / 368.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.02235, allocations: 36.98 kB / 368.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.02269, allocations: 254.5 kB / 369 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.02516, allocations: 3.794 MB / 372.8 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.0256, allocations: 258.7 kB / 373 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.0257, allocations: 92.22 kB / 373.1 MB, free: 496 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.02585, allocations: 44.3 kB / 373.2 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.02588, allocations: 41.72 kB / 373.2 MB, free: 400 kB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.535e-06/0.02588, allocations: 0 / 373.2 MB, free: 400 kB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001655/0.02754, allocations: 0.8658 MB / 374.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.02759, allocations: 140.5 kB / 374.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.02794, allocations: 0.5332 MB / 374.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.02798, allocations: 37.7 kB / 374.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.0282, allocations: 430.9 kB / 375.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.02832, allocations: 178.5 kB / 375.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.02848, allocations: 152.2 kB / 375.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.02866, allocations: 0.5429 MB / 376.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.02878, allocations: 77.92 kB / 376.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.02916, allocations: 0.6078 MB / 376.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.02966, allocations: 0.6533 MB / 377.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.02966, allocations: 4 kB / 377.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008357/0.0305, allocations: 0.6337 MB / 378 MB, free: 11.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.03052, allocations: 11.94 kB / 378.1 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.03053, allocations: 15.94 kB / 378.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/0.03108, allocations: 211.5 kB / 378.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.03133, allocations: 127.8 kB / 378.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005329/0.03186, allocations: 0.9209 MB / 379.3 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.0321, allocations: 24 kB / 379.3 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.03214, allocations: 32.03 kB / 379.4 MB, free: 9.637 MB / 314.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.0001756/0.03231, allocations: 220.2 kB / 379.6 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.0324, allocations: 79.58 kB / 379.7 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005822/0.03298, allocations: 465.5 kB / 380.1 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.03299, allocations: 8 kB / 380.1 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.03299, allocations: 7.938 kB / 380.1 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.033, allocations: 3.984 kB / 380.1 MB, free: 8.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.03427, allocations: 0.8741 MB / 381 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.03427, allocations: 4 kB / 381 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.03468, allocations: 156.1 kB / 381.2 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/0.03482, allocations: 63.55 kB / 381.2 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.03485, allocations: 15.98 kB / 381.2 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.03631, allocations: 3.57 MB / 384.8 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.03631, allocations: 0 / 384.8 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.0369, allocations: 0.6305 MB / 385.4 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.03702, allocations: 103.6 kB / 385.5 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.03707, allocations: 8 kB / 385.6 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.03722, allocations: 12 kB / 385.6 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.03729, allocations: 47.8 kB / 385.6 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.03732, allocations: 12 kB / 385.6 MB, free: 3.004 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.03749, allocations: 318.7 kB / 385.9 MB, free: 2.695 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.03749, allocations: 4.031 kB / 385.9 MB, free: 2.691 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004677/0.03796, allocations: 191.9 kB / 386.1 MB, free: 2.504 MB / 314.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.0003275/0.03829, allocations: 184.9 kB / 386.3 MB, free: 2.324 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.03878, allocations: 364.1 kB / 386.7 MB, free: 1.973 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.03878, allocations: 4 kB / 386.7 MB, free: 1.969 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004854/0.03927, allocations: 388.5 kB / 387 MB, free: 1.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.04002, allocations: 323.9 kB / 387.4 MB, free: 1.254 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.04185, allocations: 1.19 MB / 388.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.04195, allocations: 171.2 kB / 388.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003058/0.04226, allocations: 117.3 kB / 388.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.04269, allocations: 329.9 kB / 389.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.04269, allocations: 0 / 389.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of Templates: time 0.01612/0.05881, allocations: 14 MB / 403.2 MB, free: 1.473 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5348841627128422]