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.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002025/0.002025, allocations: 202.1 kB / 23.73 MB, free: 4.379 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2383/0.2383, allocations: 46.97 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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.002897/0.002897, allocations: 71.89 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3924, allocations: 66.03 MB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1886/0.581, allocations: 130.3 MB / 0.6883 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008733/0.5897, allocations: 5.168 MB / 0.6934 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006683/0.5904, allocations: 31.69 kB / 0.6934 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.5915, allocations: 322 kB / 0.6937 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.5938, allocations: 0.8862 MB / 0.6946 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.5968, allocations: 1.055 MB / 0.6956 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002576/0.5994, allocations: 1.821 MB / 0.6974 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008906/0.6003, allocations: 397.5 kB / 0.6977 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.6021, allocations: 0.798 MB / 0.6985 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.6036, allocations: 0.7475 MB / 0.6993 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002467/0.6039, allocations: 64 kB / 0.6993 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.6052, allocations: 495.1 kB / 0.6998 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004071/0.6056, allocations: 271.2 kB / 0.7 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005829/0.6062, allocations: 338.6 kB / 0.7004 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.6081, allocations: 1.163 MB / 0.7015 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6081, allocations: 0 / 0.7015 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6082, allocations: 0 / 0.7015 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.542e-05/0.6082, allocations: 0 / 0.7015 GB, free: 3.887 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.002458/0.6106, allocations: 0.9912 MB / 0.7025 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.6107, allocations: 12.03 kB / 0.7025 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003959/0.6111, allocations: 96.41 kB / 0.7026 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.6121, allocations: 490.6 kB / 0.703 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.6123, allocations: 152.4 kB / 0.7032 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.6124, allocations: 52.36 kB / 0.7032 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.614, allocations: 1.145 MB / 0.7044 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.6141, allocations: 4 kB / 0.7044 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.691e-05/0.6141, allocations: 20 kB / 0.7044 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-05/0.6142, allocations: 40.92 kB / 0.7044 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.6154, allocations: 0.6518 MB / 0.7051 GB, free: 20 kB / 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.004864/0.6203, allocations: 3.074 MB / 0.7081 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/0.6211, allocations: 400.2 kB / 0.7084 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.6215, allocations: 193.4 kB / 0.7086 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003158/0.6218, allocations: 68.27 kB / 0.7087 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.6219, allocations: 38.89 kB / 0.7087 GB, free: 12.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.585e-06/0.6219, allocations: 0 / 0.7087 GB, free: 12.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003517/0.6254, allocations: 1.394 MB / 0.7101 GB, free: 10.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.6255, allocations: 132.5 kB / 0.7102 GB, free: 10.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007151/0.6262, allocations: 0.522 MB / 0.7107 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.6263, allocations: 45.64 kB / 0.7108 GB, free: 9.965 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.6266, allocations: 364.4 kB / 0.7111 GB, free: 9.605 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.6268, allocations: 174.5 kB / 0.7113 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.627, allocations: 142.6 kB / 0.7114 GB, free: 9.289 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002647/0.6272, allocations: 370.8 kB / 0.7118 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.6277, allocations: 213.9 kB / 0.712 GB, free: 8.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000733/0.6284, allocations: 0.5837 MB / 0.7125 GB, free: 7.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.6296, allocations: 0.7601 MB / 0.7133 GB, free: 7.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.6296, allocations: 8 kB / 0.7133 GB, free: 7.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001896/0.6315, allocations: 0.8987 MB / 0.7142 GB, free: 6.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.6315, allocations: 14.75 kB / 0.7142 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.6315, allocations: 11.94 kB / 0.7142 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.633, allocations: 288.5 kB / 0.7145 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.6334, allocations: 119.8 kB / 0.7146 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.6346, allocations: 0.884 MB / 0.7154 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.6351, allocations: 28 kB / 0.7155 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-05/0.6352, allocations: 44.05 kB / 0.7155 GB, free: 4.754 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.0004139/0.6356, allocations: 241.5 kB / 0.7157 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.6358, allocations: 63.61 kB / 0.7158 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.6373, allocations: 0.6911 MB / 0.7165 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.6373, allocations: 12 kB / 0.7165 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.6373, allocations: 3.938 kB / 0.7165 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6373, allocations: 0 / 0.7165 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.6397, allocations: 1.168 MB / 0.7176 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6397, allocations: 192 / 0.7176 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.6408, allocations: 203.8 kB / 0.7178 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.6409, allocations: 24.84 kB / 0.7179 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-05/0.6409, allocations: 15.98 kB / 0.7179 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/0.6435, allocations: 2.624 MB / 0.7204 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6435, allocations: 0 / 0.7204 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.6452, allocations: 0.9424 MB / 0.7214 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.6456, allocations: 115.5 kB / 0.7215 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.6457, allocations: 12 kB / 0.7215 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.6461, allocations: 19.98 kB / 0.7215 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.6462, allocations: 35.94 kB / 0.7215 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-05/0.6463, allocations: 27.92 kB / 0.7216 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005244/0.6468, allocations: 358.8 kB / 0.7219 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6468, allocations: 0 / 0.7219 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009674/0.6478, allocations: 223.8 kB / 0.7221 GB, free: 13.68 MB / 0.5606 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.0005806/0.6483, allocations: 239.2 kB / 0.7223 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.65, allocations: 0.595 MB / 0.7229 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.65, allocations: 4 kB / 0.7229 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.6512, allocations: 438.2 kB / 0.7233 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.6529, allocations: 318.9 kB / 0.7236 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.6556, allocations: 1.379 MB / 0.725 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.656, allocations: 341.1 kB / 0.7253 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006348/0.6566, allocations: 204.3 kB / 0.7255 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.6568, allocations: 67.36 kB / 0.7256 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.6568, allocations: 0 / 0.7256 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.2922/0.9489, allocations: 15.5 MB / 0.7407 GB, free: 171.1 MB / 0.5606 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.325131111312658]