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.001448/0.001448, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001167/0.001167, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9223/0.9223, allocations: 158.6 MB / 185.9 MB, free: 2.773 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.1482/0.1482, allocations: 32.38 MB / 270.7 MB, free: 14.52 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.355e-06/2.355e-06, allocations: 0 / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.704e-05, allocations: 2.312 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.006096/0.006123, allocations: 7.243 MB / 355.4 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.009374, allocations: 2.437 MB / 357.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.009818, allocations: 27.75 kB / 357.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005546/0.01037, allocations: 222.4 kB / 358.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.01175, allocations: 0.7611 MB / 358.8 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.01366, allocations: 0.8339 MB / 359.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002518/0.01617, allocations: 1.863 MB / 361.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000846/0.01702, allocations: 429.8 kB / 361.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.01893, allocations: 0.9936 MB / 362.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009083/0.01983, allocations: 0.6077 MB / 363.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.01994, allocations: 56 kB / 363.6 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.02041, allocations: 191.7 kB / 363.8 MB, free: 9.445 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.02063, allocations: 287.1 kB / 364.1 MB, free: 9.164 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.02096, allocations: 275.4 kB / 364.3 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.02236, allocations: 0.7554 MB / 365.1 MB, free: 8.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.02236, allocations: 0 / 365.1 MB, free: 8.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.02236, allocations: 0 / 365.1 MB, free: 8.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.02238, allocations: 4 kB / 365.1 MB, free: 8.133 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.001404/0.02378, allocations: 1.079 MB / 366.2 MB, free: 7.016 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.02384, allocations: 8.031 kB / 366.2 MB, free: 7.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.02412, allocations: 152.2 kB / 366.3 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.02467, allocations: 484.8 kB / 366.8 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.02479, allocations: 152.4 kB / 366.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/0.02486, allocations: 60.36 kB / 367 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008425/0.02571, allocations: 0.8823 MB / 367.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.02573, allocations: 0 / 367.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.02577, allocations: 24 kB / 367.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.13e-05/0.02584, allocations: 40.92 kB / 368 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.02619, allocations: 254.5 kB / 368.2 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.02923, allocations: 3.79 MB / 372 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.02966, allocations: 256.4 kB / 372.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.02977, allocations: 96.22 kB / 372.3 MB, free: 480 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.02994, allocations: 50.05 kB / 372.4 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.02997, allocations: 41.72 kB / 372.4 MB, free: 384 kB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.475e-06/0.02997, allocations: 0 / 372.4 MB, free: 384 kB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001446/0.03142, allocations: 0.854 MB / 373.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.03147, allocations: 136.5 kB / 373.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.03181, allocations: 0.5371 MB / 373.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.03184, allocations: 33.7 kB / 374 MB, free: 14.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.03203, allocations: 438.9 kB / 374.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.78e-05/0.03212, allocations: 170.6 kB / 374.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.03226, allocations: 156.1 kB / 374.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.03241, allocations: 0.5507 MB / 375.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.605e-05/0.03251, allocations: 73.92 kB / 375.4 MB, free: 13.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.03285, allocations: 0.6116 MB / 376 MB, free: 12.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.03332, allocations: 0.6416 MB / 376.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.03332, allocations: 4 kB / 376.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008387/0.03416, allocations: 0.6447 MB / 377.3 MB, free: 11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.03418, allocations: 8 kB / 377.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.0342, allocations: 15.98 kB / 377.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005607/0.03476, allocations: 208.1 kB / 377.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.03499, allocations: 135.8 kB / 377.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006118/0.03561, allocations: 0.9238 MB / 378.5 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.03586, allocations: 24 kB / 378.6 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.0359, allocations: 31.98 kB / 378.6 MB, free: 9.629 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.0004561/0.03635, allocations: 216.2 kB / 378.8 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.007e-05/0.03643, allocations: 83.58 kB / 378.9 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/0.03698, allocations: 458.8 kB / 379.3 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.03699, allocations: 8 kB / 379.3 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.03699, allocations: 3.938 kB / 379.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.037, allocations: 3.984 kB / 379.3 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009046/0.0379, allocations: 0.8819 MB / 380.2 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.03791, allocations: 4.047 kB / 380.2 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.0383, allocations: 160 kB / 380.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001445/0.03844, allocations: 63.56 kB / 380.5 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.03846, allocations: 12 kB / 380.5 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.04001, allocations: 3.566 MB / 384 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.04002, allocations: 4 kB / 384 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.04063, allocations: 0.6382 MB / 384.7 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.04077, allocations: 95.56 kB / 384.8 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.04082, allocations: 12 kB / 384.8 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.04098, allocations: 12 kB / 384.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.04104, allocations: 39.88 kB / 384.8 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.04107, allocations: 19.92 kB / 384.8 MB, free: 2.996 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002061/0.04127, allocations: 318.7 kB / 385.2 MB, free: 2.688 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.04127, allocations: 0 / 385.2 MB, free: 2.688 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005232/0.0418, allocations: 191.9 kB / 385.3 MB, free: 2.5 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.0003579/0.04215, allocations: 187.5 kB / 385.5 MB, free: 2.316 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005347/0.04269, allocations: 364.2 kB / 385.9 MB, free: 1.965 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.04269, allocations: 4 kB / 385.9 MB, free: 1.961 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.04349, allocations: 392 kB / 386.3 MB, free: 1.559 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.04428, allocations: 323.1 kB / 386.6 MB, free: 1.246 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.04601, allocations: 1.19 MB / 387.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.04614, allocations: 175.1 kB / 387.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003189/0.04646, allocations: 113.3 kB / 388.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/0.04692, allocations: 333.9 kB / 388.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.482e-06/0.04692, allocations: 0 / 388.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of Templates: time 0.0186/0.06552, allocations: 13.78 MB / 402.2 MB, free: 1.664 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.5126299099065363]