Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.0009756/0.0009756, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001978, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0006846/0.0006846, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009185/0.001603, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9309/0.9309, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1576/1.089, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.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.128/0.128, allocations: 32.36 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02036/0.1484, allocations: 12.3 MB / 266.1 MB, free: 3.879 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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 267.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.781e-05, allocations: 10.25 kB / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2812/0.2813, allocations: 131.6 MB / 399 MB, free: 4.141 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004442/0.2857, allocations: 3.136 MB / 402.1 MB, free: 1.012 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003684/0.2861, allocations: 27.75 kB / 402.1 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.2865, allocations: 222.5 kB / 402.3 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.2877, allocations: 0.769 MB / 403.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.2892, allocations: 0.8882 MB / 404 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.2908, allocations: 1.88 MB / 405.9 MB, free: 13.21 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005974/0.2914, allocations: 437.8 kB / 406.3 MB, free: 12.78 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.2926, allocations: 0.9812 MB / 407.3 MB, free: 11.8 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007792/0.2933, allocations: 0.6272 MB / 407.9 MB, free: 11.17 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.2934, allocations: 64 kB / 408 MB, free: 11.11 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.2939, allocations: 271.5 kB / 408.2 MB, free: 10.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.2941, allocations: 239.3 kB / 408.5 MB, free: 10.61 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.2943, allocations: 227.6 kB / 408.7 MB, free: 10.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008322/0.2952, allocations: 0.697 MB / 409.4 MB, free: 9.688 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.2952, allocations: 0 / 409.4 MB, free: 9.688 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2952, allocations: 0 / 409.4 MB, free: 9.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.2952, allocations: 0 / 409.4 MB, free: 9.688 MB / 394.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.001465/0.2967, allocations: 1.179 MB / 410.6 MB, free: 8.465 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2967, allocations: 11.89 kB / 410.6 MB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003062/0.297, allocations: 141.9 kB / 410.7 MB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000557/0.2976, allocations: 431.3 kB / 411.1 MB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.997e-05/0.2977, allocations: 152.4 kB / 411.3 MB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.2977, allocations: 52.38 kB / 411.3 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.2984, allocations: 0.893 MB / 412.2 MB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.2984, allocations: 384 / 412.2 MB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.2985, allocations: 27.92 kB / 412.3 MB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.997e-05/0.2985, allocations: 48.91 kB / 412.3 MB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.2988, allocations: 228.3 kB / 412.5 MB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.301, allocations: 2.448 MB / 415 MB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.3013, allocations: 222.5 kB / 415.2 MB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.3014, allocations: 73.42 kB / 415.3 MB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.3015, allocations: 36.3 kB / 415.3 MB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.3016, allocations: 38.89 kB / 415.3 MB, free: 3.371 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.3016, allocations: 3.938 kB / 415.3 MB, free: 3.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.001794/0.3033, allocations: 0.8711 MB / 416.2 MB, free: 2.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.3034, allocations: 59.41 kB / 416.3 MB, free: 2.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.3037, allocations: 474.8 kB / 416.7 MB, free: 1.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.3037, allocations: 37.7 kB / 416.8 MB, free: 1.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.3039, allocations: 325.2 kB / 417.1 MB, free: 1.555 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.063e-05/0.3039, allocations: 174.5 kB / 417.3 MB, free: 1.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.3041, allocations: 138.5 kB / 417.4 MB, free: 1.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3042, allocations: 374.6 kB / 417.8 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.3043, allocations: 65.97 kB / 417.8 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.3045, allocations: 485.5 kB / 418.3 MB, free: 168 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.305, allocations: 0.5433 MB / 418.8 MB, free: 15.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.305, allocations: 4 kB / 418.9 MB, free: 15.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006549/0.3057, allocations: 0.5178 MB / 419.4 MB, free: 14.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3057, allocations: 8 kB / 419.4 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3057, allocations: 8 kB / 419.4 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006441/0.3063, allocations: 232.1 kB / 419.6 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.3066, allocations: 139.8 kB / 419.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004381/0.307, allocations: 0.668 MB / 420.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.3073, allocations: 28 kB / 420.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.3073, allocations: 28 kB / 420.5 MB, free: 13.82 MB / 410.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 (74): * Single equations (assignments): 73 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.3075, allocations: 168.4 kB / 420.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.3075, allocations: 47.95 kB / 420.7 MB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.308, allocations: 419.9 kB / 421.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.308, allocations: 4.047 kB / 421.1 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3081, allocations: 3.984 kB / 421.1 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3081, allocations: 3.984 kB / 421.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007969/0.3089, allocations: 0.7048 MB / 421.8 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3089, allocations: 4 kB / 421.8 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/0.3094, allocations: 192.4 kB / 422 MB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.3096, allocations: 83.52 kB / 422.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.3097, allocations: 28.98 kB / 422.1 MB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.3097, allocations: 19.92 kB / 422.1 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.311, allocations: 2.389 MB / 424.5 MB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.311, allocations: 3.938 kB / 424.5 MB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.3115, allocations: 0.5125 MB / 425 MB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.3116, allocations: 8 kB / 425 MB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.3117, allocations: 23.98 kB / 425.1 MB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.3118, allocations: 39.97 kB / 425.1 MB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.3118, allocations: 15.98 kB / 425.1 MB, free: 8.875 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.312, allocations: 200.4 kB / 425.3 MB, free: 8.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.312, allocations: 0 / 425.3 MB, free: 8.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005519/0.3125, allocations: 191.9 kB / 425.5 MB, free: 8.492 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004776/0.313, allocations: 191.1 kB / 425.7 MB, free: 8.316 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006255/0.3136, allocations: 347.9 kB / 426 MB, free: 7.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.678e-05/0.3137, allocations: 12.5 kB / 426 MB, free: 7.969 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.3142, allocations: 352.2 kB / 426.4 MB, free: 7.609 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.3155, allocations: 1.83 MB / 428.2 MB, free: 5.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00763/0.3232, allocations: 1.17 MB / 429.4 MB, free: 4.242 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.3233, allocations: 171.2 kB / 429.6 MB, free: 4.055 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003918/0.3237, allocations: 123.5 kB / 429.7 MB, free: 3.938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/0.3242, allocations: 293 kB / 430 MB, free: 3.648 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3242, allocations: 3.938 kB / 430 MB, free: 3.645 MB / 410.7 MB Notification: Performance of Templates: time 0.01733/0.3416, allocations: 14.6 MB / 444.6 MB, free: 5.121 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3918989282101393]