Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008678/0.0008678, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.000976/0.000976, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9615/0.9615, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2755/0.2755, allocations: 32.81 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.74e-05, allocations: 5.266 kB / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4002/0.4002, allocations: 132.1 MB / 0.4966 GB, free: 28.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.4136, allocations: 3.071 MB / 0.4996 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005835/0.4142, allocations: 30.53 kB / 0.4997 GB, free: 26.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006545/0.4148, allocations: 212.7 kB / 0.4999 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.4164, allocations: 0.778 MB / 0.5006 GB, free: 26.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.4184, allocations: 0.9087 MB / 0.5015 GB, free: 25.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002462/0.4208, allocations: 1.861 MB / 0.5033 GB, free: 24.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007207/0.4215, allocations: 424.2 kB / 0.5037 GB, free: 24.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.423, allocations: 0.9464 MB / 0.5046 GB, free: 24.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009534/0.424, allocations: 0.6738 MB / 0.5053 GB, free: 23.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.4241, allocations: 60.44 kB / 0.5054 GB, free: 23.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005668/0.4247, allocations: 273.8 kB / 0.5056 GB, free: 23.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.4249, allocations: 291.2 kB / 0.5059 GB, free: 23.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.4252, allocations: 290.5 kB / 0.5062 GB, free: 23.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008473/0.426, allocations: 0.7894 MB / 0.507 GB, free: 23.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.426, allocations: 0 / 0.507 GB, free: 23.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.426, allocations: 0 / 0.507 GB, free: 23.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.4261, allocations: 0 / 0.507 GB, free: 23.23 MB / 410.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.001249/0.4273, allocations: 1.077 MB / 0.508 GB, free: 22.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4273, allocations: 9.625 kB / 0.508 GB, free: 22.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.4276, allocations: 155.6 kB / 0.5082 GB, free: 22.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.4281, allocations: 490.2 kB / 0.5086 GB, free: 22.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.76e-05/0.4282, allocations: 154.9 kB / 0.5088 GB, free: 21.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.753e-05/0.4283, allocations: 57.97 kB / 0.5088 GB, free: 21.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.4289, allocations: 0.9075 MB / 0.5097 GB, free: 21.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.4289, allocations: 6.359 kB / 0.5097 GB, free: 21.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.429, allocations: 25.94 kB / 0.5097 GB, free: 21.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.429, allocations: 37.42 kB / 0.5098 GB, free: 21.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.4293, allocations: 249.1 kB / 0.51 GB, free: 21.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.4311, allocations: 3.398 MB / 0.5133 GB, free: 18.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.4315, allocations: 258.7 kB / 0.5136 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.4316, allocations: 89.58 kB / 0.5137 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.4317, allocations: 51.62 kB / 0.5137 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.4317, allocations: 39.94 kB / 0.5138 GB, free: 18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.553e-06/0.4317, allocations: 4 kB / 0.5138 GB, free: 18 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001306/0.433, allocations: 0.8251 MB / 0.5146 GB, free: 17.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.433, allocations: 133.8 kB / 0.5147 GB, free: 17.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.4333, allocations: 0.538 MB / 0.5152 GB, free: 17.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.4334, allocations: 36.7 kB / 0.5153 GB, free: 17.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.4335, allocations: 432.8 kB / 0.5157 GB, free: 16.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.4336, allocations: 176.3 kB / 0.5158 GB, free: 16.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.4337, allocations: 156.5 kB / 0.516 GB, free: 16.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.4338, allocations: 0.553 MB / 0.5165 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/0.4339, allocations: 70.61 kB / 0.5166 GB, free: 15.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.4342, allocations: 0.6052 MB / 0.5172 GB, free: 15.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.4346, allocations: 0.6443 MB / 0.5178 GB, free: 14.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4346, allocations: 3.406 kB / 0.5178 GB, free: 14.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006621/0.4352, allocations: 0.6284 MB / 0.5184 GB, free: 14.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4353, allocations: 7.906 kB / 0.5184 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.4353, allocations: 10.94 kB / 0.5184 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/0.4359, allocations: 238.3 kB / 0.5187 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.4361, allocations: 122.8 kB / 0.5188 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004148/0.4365, allocations: 0.9539 MB / 0.5197 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.4367, allocations: 21.84 kB / 0.5197 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.4367, allocations: 39.42 kB / 0.5198 GB, free: 13.45 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.0001276/0.4368, allocations: 204.9 kB / 0.52 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/0.4369, allocations: 81.98 kB / 0.5201 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005337/0.4374, allocations: 482.2 kB / 0.5205 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4374, allocations: 5.438 kB / 0.5205 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4374, allocations: 0 / 0.5205 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4374, allocations: 4.828 kB / 0.5205 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007518/0.4382, allocations: 0.8455 MB / 0.5214 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4382, allocations: 3.031 kB / 0.5214 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.4387, allocations: 172.7 kB / 0.5215 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.297e-05/0.4387, allocations: 21.52 kB / 0.5215 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.4388, allocations: 17.25 kB / 0.5216 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000976/0.4397, allocations: 3.522 MB / 0.525 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4397, allocations: 2.656 kB / 0.525 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.4402, allocations: 0.6084 MB / 0.5256 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.4404, allocations: 107 kB / 0.5257 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.4404, allocations: 10.97 kB / 0.5257 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.4406, allocations: 18.59 kB / 0.5257 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.4406, allocations: 42.59 kB / 0.5258 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.4406, allocations: 19.89 kB / 0.5258 GB, free: 8.344 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000165/0.4408, allocations: 317.9 kB / 0.5261 GB, free: 8.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4408, allocations: 0 / 0.5261 GB, free: 8.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004642/0.4413, allocations: 198.6 kB / 0.5263 GB, free: 8.152 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.0002279/0.4415, allocations: 170.7 kB / 0.5264 GB, free: 8.035 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005144/0.442, allocations: 375 kB / 0.5268 GB, free: 7.941 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.442, allocations: 6.625 kB / 0.5268 GB, free: 7.938 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.4424, allocations: 367.6 kB / 0.5272 GB, free: 7.734 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007916/0.4432, allocations: 328.8 kB / 0.5275 GB, free: 7.656 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.4449, allocations: 1.187 MB / 0.5286 GB, free: 6.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.445, allocations: 174.2 kB / 0.5288 GB, free: 6.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003009/0.4453, allocations: 118.5 kB / 0.5289 GB, free: 6.797 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005155/0.4458, allocations: 362.3 kB / 0.5292 GB, free: 6.719 MB / 410.7 MB Notification: Performance of SimCode: time 1.843e-06/0.4458, allocations: 0 / 0.5292 GB, free: 6.719 MB / 410.7 MB Notification: Performance of Templates: time 0.01703/0.4629, allocations: 14.17 MB / 0.5431 GB, free: 0.6406 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.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.780998636968434]