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.001001/0.001001, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009891/0.0009891, allocations: 165 kB / 23.79 MB, free: 0.7773 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.8797/0.8797, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1371/0.1371, allocations: 32.38 MB / 270.4 MB, free: 14.7 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 2.244e-06/2.244e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.944e-05, allocations: 13.28 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.006048/0.006078, allocations: 7.31 MB / 355 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.009059, allocations: 2.464 MB / 357.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003528/0.009412, allocations: 31.69 kB / 357.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.009945, allocations: 202.6 kB / 357.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.01114, allocations: 0.765 MB / 358.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.01239, allocations: 0.8378 MB / 359.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.01386, allocations: 1.863 MB / 361.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005482/0.0144, allocations: 421.8 kB / 361.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.01548, allocations: 0.9779 MB / 362.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007388/0.01622, allocations: 0.6155 MB / 363.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.783e-05/0.01632, allocations: 60 kB / 363.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.01667, allocations: 187.8 kB / 363.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.01688, allocations: 295.1 kB / 363.7 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.0171, allocations: 279.4 kB / 364 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008459/0.01795, allocations: 0.7593 MB / 364.7 MB, free: 8.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.01795, allocations: 3.984 kB / 364.7 MB, free: 8.316 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01795, allocations: 0 / 364.7 MB, free: 8.316 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.01796, allocations: 4 kB / 364.7 MB, free: 8.312 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.001418/0.01938, allocations: 1.079 MB / 365.8 MB, free: 7.195 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.01942, allocations: 8.031 kB / 365.8 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.01973, allocations: 156.2 kB / 366 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005668/0.0203, allocations: 0.4889 MB / 366.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.02042, allocations: 156.3 kB / 366.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/0.0205, allocations: 56.38 kB / 366.7 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008574/0.02135, allocations: 0.9466 MB / 367.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.02137, allocations: 3.938 kB / 367.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.682e-05/0.02142, allocations: 23.98 kB / 367.6 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.02147, allocations: 40.97 kB / 367.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.02196, allocations: 305.5 kB / 368 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.02463, allocations: 3.907 MB / 371.9 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.02512, allocations: 272.5 kB / 372.2 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.02526, allocations: 104.2 kB / 372.3 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.02541, allocations: 40.3 kB / 372.3 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.02545, allocations: 41.72 kB / 372.3 MB, free: 276 kB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.595e-06/0.02545, allocations: 3.984 kB / 372.3 MB, free: 272 kB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001662/0.02711, allocations: 1.002 MB / 373.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.02717, allocations: 140.5 kB / 373.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.02755, allocations: 0.5374 MB / 374 MB, free: 14.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.02758, allocations: 33.7 kB / 374.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.02777, allocations: 419.1 kB / 374.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.672e-05/0.02786, allocations: 174.5 kB / 374.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.02805, allocations: 144.2 kB / 374.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.02822, allocations: 0.543 MB / 375.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.02837, allocations: 89.94 kB / 375.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.02875, allocations: 0.6026 MB / 376 MB, free: 12.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000542/0.02929, allocations: 0.6467 MB / 376.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.02929, allocations: 4 kB / 376.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008756/0.03017, allocations: 0.6761 MB / 377.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.03019, allocations: 12 kB / 377.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.0302, allocations: 8 kB / 377.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005423/0.03074, allocations: 208 kB / 377.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.03096, allocations: 123.8 kB / 377.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005426/0.03151, allocations: 0.9433 MB / 378.6 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.03171, allocations: 28 kB / 378.6 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.03174, allocations: 32 kB / 378.7 MB, free: 9.371 MB / 314.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.0001532/0.03189, allocations: 220.2 kB / 378.9 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.03197, allocations: 83.52 kB / 379 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006344/0.03261, allocations: 0.4897 MB / 379.5 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.03261, allocations: 7.938 kB / 379.5 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.03262, allocations: 0 / 379.5 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.03262, allocations: 0 / 379.5 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.03364, allocations: 1.002 MB / 380.5 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.03364, allocations: 4 kB / 380.5 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004394/0.03408, allocations: 179.8 kB / 380.7 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001571/0.03424, allocations: 51.84 kB / 380.7 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.03427, allocations: 15.98 kB / 380.7 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.03585, allocations: 3.612 MB / 384.3 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.03585, allocations: 4 kB / 384.3 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/0.03655, allocations: 0.6734 MB / 385 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.03668, allocations: 103.6 kB / 385.1 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.03673, allocations: 23.92 kB / 385.1 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.03689, allocations: 16 kB / 385.1 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.03696, allocations: 39.88 kB / 385.2 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.03698, allocations: 19.98 kB / 385.2 MB, free: 2.438 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002244/0.03721, allocations: 334.8 kB / 385.5 MB, free: 2.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03721, allocations: 0 / 385.5 MB, free: 2.113 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004445/0.03765, allocations: 187.9 kB / 385.7 MB, free: 1.93 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.0004065/0.03806, allocations: 180.7 kB / 385.9 MB, free: 1.754 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005829/0.03864, allocations: 392.1 kB / 386.3 MB, free: 1.375 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.03864, allocations: 3.984 kB / 386.3 MB, free: 1.371 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.03923, allocations: 424.4 kB / 386.7 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000812/0.04004, allocations: 335 kB / 387 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.0418, allocations: 1.186 MB / 388.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.04191, allocations: 179.1 kB / 388.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003704/0.04228, allocations: 174 kB / 388.6 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.04243, allocations: 60.48 kB / 388.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.04243, allocations: 0 / 388.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of Templates: time 0.01466/0.05708, allocations: 12.64 MB / 401.3 MB, free: 2.406 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.34479658678174]