Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001304/0.001304, allocations: 82.5 kB / 20.68 MB, free: 1.035 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.001373/0.001373, allocations: 167.5 kB / 23.95 MB, free: 4.172 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.447/1.447, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2036/0.2036, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.87e-05, allocations: 2.281 kB / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3845/0.3845, allocations: 153.8 MB / 0.58 GB, free: 116 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007388/0.3919, allocations: 4.916 MB / 0.5848 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005524/0.3925, allocations: 27.75 kB / 0.5848 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008824/0.3933, allocations: 309.9 kB / 0.5851 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.3966, allocations: 1.322 MB / 0.5864 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.3991, allocations: 1.014 MB / 0.5874 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.4015, allocations: 1.875 MB / 0.5892 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006391/0.4021, allocations: 393.5 kB / 0.5896 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.4046, allocations: 1.347 MB / 0.5909 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.4059, allocations: 0.6428 MB / 0.5916 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.4061, allocations: 60 kB / 0.5916 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.4078, allocations: 0.553 MB / 0.5922 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.4083, allocations: 295.1 kB / 0.5924 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000486/0.4087, allocations: 279.4 kB / 0.5927 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.4111, allocations: 1.383 MB / 0.5941 GB, free: 1.699 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4111, allocations: 4 kB / 0.5941 GB, free: 1.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.4111, allocations: 0 / 0.5941 GB, free: 1.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.4111, allocations: 0 / 0.5941 GB, free: 1.695 MB / 494.1 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.002239/0.4133, allocations: 1.038 MB / 0.5951 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4134, allocations: 8.031 kB / 0.5951 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00087/0.4143, allocations: 139.5 kB / 0.5952 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/0.4151, allocations: 489.4 kB / 0.5957 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.4153, allocations: 155.7 kB / 0.5958 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.784e-05/0.4154, allocations: 51.91 kB / 0.5959 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.4169, allocations: 1.14 MB / 0.597 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.4169, allocations: 11.94 kB / 0.597 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.962e-05/0.417, allocations: 24 kB / 0.597 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.417, allocations: 36.98 kB / 0.5971 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.4181, allocations: 0.6127 MB / 0.5977 GB, free: 13.76 MB / 0.4981 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.004294/0.4224, allocations: 3.216 MB / 0.6008 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.423, allocations: 343.1 kB / 0.6011 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.4233, allocations: 157.3 kB / 0.6013 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-05/0.4234, allocations: 20.27 kB / 0.6013 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.4234, allocations: 42.83 kB / 0.6013 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.4234, allocations: 0 / 0.6013 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.005779/0.4292, allocations: 1.597 MB / 0.6029 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.901e-05/0.4293, allocations: 132.5 kB / 0.603 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006575/0.43, allocations: 0.5338 MB / 0.6035 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.43, allocations: 33.7 kB / 0.6036 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.4303, allocations: 380.2 kB / 0.6039 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.4304, allocations: 154.7 kB / 0.6041 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.4307, allocations: 154.6 kB / 0.6042 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.4309, allocations: 370.7 kB / 0.6046 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.4313, allocations: 206.8 kB / 0.6048 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/0.4319, allocations: 0.5919 MB / 0.6054 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.433, allocations: 0.7487 MB / 0.6061 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.433, allocations: 4 kB / 0.6061 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001585/0.4346, allocations: 0.8725 MB / 0.6069 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.4347, allocations: 8 kB / 0.607 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.4347, allocations: 12 kB / 0.607 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.4362, allocations: 321.4 kB / 0.6073 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.4366, allocations: 115.8 kB / 0.6074 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.4378, allocations: 0.9309 MB / 0.6083 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.4383, allocations: 36.05 kB / 0.6083 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.4384, allocations: 64 kB / 0.6084 GB, free: 2.184 MB / 0.4981 GB 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.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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003812/0.4388, allocations: 245.5 kB / 0.6086 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.4389, allocations: 71.52 kB / 0.6087 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.4406, allocations: 0.8618 MB / 0.6095 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.4406, allocations: 7.984 kB / 0.6095 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4406, allocations: 0 / 0.6095 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4406, allocations: 8 kB / 0.6095 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.4426, allocations: 1.083 MB / 0.6106 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4426, allocations: 0 / 0.6106 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.4438, allocations: 215.9 kB / 0.6108 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.4439, allocations: 24.84 kB / 0.6108 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.4439, allocations: 16 kB / 0.6108 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/0.4465, allocations: 2.629 MB / 0.6134 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.4466, allocations: 7.969 kB / 0.6134 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.4484, allocations: 0.8065 MB / 0.6142 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.4487, allocations: 103.6 kB / 0.6143 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.4488, allocations: 11.98 kB / 0.6143 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.4492, allocations: 19.94 kB / 0.6143 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.4493, allocations: 39.94 kB / 0.6144 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-05/0.4494, allocations: 44.14 kB / 0.6144 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004852/0.4499, allocations: 366.8 kB / 0.6148 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4499, allocations: 0 / 0.6148 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009376/0.4508, allocations: 251.7 kB / 0.615 GB, free: 11.09 MB / 0.5137 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0007262/0.4516, allocations: 294.8 kB / 0.6153 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.4527, allocations: 0.5313 MB / 0.6158 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4527, allocations: 3.953 kB / 0.6158 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.4538, allocations: 410.9 kB / 0.6162 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.4553, allocations: 305.1 kB / 0.6165 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.4575, allocations: 1.241 MB / 0.6177 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.4578, allocations: 336.3 kB / 0.618 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009744/0.4588, allocations: 445.2 kB / 0.6185 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.4591, allocations: 108.5 kB / 0.6186 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.4591, allocations: 0 / 0.6186 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of Templates: time 0.02711/0.4862, allocations: 15.65 MB / 0.6338 GB, free: 7.949 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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: 5.688966814428568]