Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001733/0.001733, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 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.002019/0.002019, allocations: 208.3 kB / 20.75 MB, free: 2.293 MB / 14.72 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.637/1.637, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2404/0.2404, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.91 kB / 0.4914 GB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1491, allocations: 66 MB / 0.5559 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.5288/0.6779, allocations: 151 MB / 0.7033 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01231/0.6902, allocations: 5.613 MB / 0.7088 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.6913, allocations: 27.75 kB / 0.7088 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.6929, allocations: 326 kB / 0.7091 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003267/0.6962, allocations: 0.8784 MB / 0.71 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.7001, allocations: 1.023 MB / 0.711 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003572/0.7036, allocations: 1.809 MB / 0.7128 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.7047, allocations: 413.4 kB / 0.7132 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.7067, allocations: 0.7786 MB / 0.7139 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.7079, allocations: 0.7475 MB / 0.7146 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.708, allocations: 67.92 kB / 0.7147 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.7093, allocations: 0.5693 MB / 0.7153 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.7096, allocations: 279.1 kB / 0.7155 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.7101, allocations: 390.2 kB / 0.7159 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.7117, allocations: 1.18 MB / 0.7171 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7117, allocations: 4 kB / 0.7171 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7118, allocations: 0 / 0.7171 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.7118, allocations: 0 / 0.7171 GB, free: 12.04 MB / 0.5294 GB 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.002282/0.714, allocations: 1.066 MB / 0.7181 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.7141, allocations: 8.031 kB / 0.7181 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004147/0.7145, allocations: 100.4 kB / 0.7182 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/0.7154, allocations: 0.5331 MB / 0.7187 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.7156, allocations: 112.8 kB / 0.7188 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.66e-05/0.7157, allocations: 52.55 kB / 0.7189 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.7171, allocations: 0.8188 MB / 0.7197 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.7171, allocations: 4 kB / 0.7197 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.7172, allocations: 16 kB / 0.7197 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/0.7173, allocations: 40.98 kB / 0.7197 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.7185, allocations: 0.6556 MB / 0.7204 GB, free: 8.465 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005164/0.7236, allocations: 3.948 MB / 0.7242 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000896/0.7245, allocations: 408.3 kB / 0.7246 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.7249, allocations: 193.4 kB / 0.7248 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007701/0.7257, allocations: 0.7365 MB / 0.7255 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.7257, allocations: 38.89 kB / 0.7256 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 2.434e-06/0.7257, allocations: 0 / 0.7256 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003667/0.7294, allocations: 1.555 MB / 0.7271 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.7295, allocations: 136.5 kB / 0.7272 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007929/0.7303, allocations: 0.5771 MB / 0.7278 GB, free: 312 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.7303, allocations: 37.7 kB / 0.7278 GB, free: 268 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.7307, allocations: 356 kB / 0.7282 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.7308, allocations: 170.6 kB / 0.7283 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.7311, allocations: 142.6 kB / 0.7285 GB, free: 15.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000214/0.7313, allocations: 370.8 kB / 0.7288 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.7317, allocations: 221.9 kB / 0.729 GB, free: 15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/0.7324, allocations: 0.5132 MB / 0.7295 GB, free: 14.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.7335, allocations: 0.764 MB / 0.7303 GB, free: 13.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7335, allocations: 0 / 0.7303 GB, free: 13.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001832/0.7354, allocations: 0.91 MB / 0.7312 GB, free: 12.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.7354, allocations: 13.81 kB / 0.7312 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.7354, allocations: 12 kB / 0.7312 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/0.737, allocations: 285 kB / 0.7315 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.7374, allocations: 131 kB / 0.7316 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.7386, allocations: 0.8863 MB / 0.7324 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.7391, allocations: 28 kB / 0.7325 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.7392, allocations: 32 kB / 0.7325 GB, free: 11.14 MB / 0.545 GB 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 (71): * Single equations (assignments): 70 * 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.0004333/0.7396, allocations: 259 kB / 0.7328 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.7398, allocations: 67.58 kB / 0.7328 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.7413, allocations: 0.765 MB / 0.7336 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.7413, allocations: 11.98 kB / 0.7336 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7413, allocations: 0 / 0.7336 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.7413, allocations: 0 / 0.7336 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.7436, allocations: 1.42 MB / 0.735 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.7436, allocations: 0 / 0.735 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.7447, allocations: 203.7 kB / 0.7352 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.865e-05/0.7448, allocations: 24.84 kB / 0.7352 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.7449, allocations: 15.98 kB / 0.7352 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/0.7475, allocations: 2.873 MB / 0.738 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7475, allocations: 3.938 kB / 0.738 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.7492, allocations: 1.009 MB / 0.739 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.7495, allocations: 212.5 kB / 0.7392 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.828e-05/0.7496, allocations: 16 kB / 0.7392 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.75, allocations: 16 kB / 0.7392 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.7501, allocations: 35.89 kB / 0.7393 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-05/0.7502, allocations: 28.03 kB / 0.7393 GB, free: 3.715 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006229/0.7508, allocations: 431 kB / 0.7397 GB, free: 3.289 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7508, allocations: 0 / 0.7397 GB, free: 3.289 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009778/0.7518, allocations: 223.8 kB / 0.7399 GB, free: 3.07 MB / 0.545 GB 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 (47): * Single equations (assignments): 43 * 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.0005274/0.7523, allocations: 242.5 kB / 0.7401 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.7538, allocations: 0.5756 MB / 0.7407 GB, free: 2.258 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7538, allocations: 0 / 0.7407 GB, free: 2.258 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.7549, allocations: 443 kB / 0.7411 GB, free: 1.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.7568, allocations: 383.8 kB / 0.7415 GB, free: 1.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.7593, allocations: 1.403 MB / 0.7429 GB, free: 12 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.7599, allocations: 0.9346 MB / 0.7438 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000656/0.7606, allocations: 213.3 kB / 0.744 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.7608, allocations: 63.42 kB / 0.744 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/0.7608, allocations: 0 / 0.744 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.03049/0.7913, allocations: 15.78 MB / 0.7594 GB, free: 15.14 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.466772295534611]