Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001365/0.001365, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.001645/0.001645, allocations: 157.6 kB / 23.52 MB, free: 0.918 MB / 18.57 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 1.401/1.401, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.2292/0.2292, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 347 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.115e-05, allocations: 2.312 kB / 347 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4506/0.4506, allocations: 155.6 MB / 0.4908 GB, free: 1.395 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.463, allocations: 7.52 MB / 0.4981 GB, free: 11.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008087/0.4638, allocations: 29.16 kB / 0.4981 GB, free: 11.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.4651, allocations: 313.8 kB / 0.4984 GB, free: 11.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.4701, allocations: 1.546 MB / 0.5 GB, free: 10.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004173/0.4742, allocations: 1.193 MB / 0.5011 GB, free: 9.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.4773, allocations: 1.888 MB / 0.503 GB, free: 7.793 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.4784, allocations: 425.7 kB / 0.5034 GB, free: 7.379 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004478/0.4829, allocations: 1.487 MB / 0.5048 GB, free: 5.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.4846, allocations: 0.6429 MB / 0.5055 GB, free: 5.242 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002977/0.4849, allocations: 60 kB / 0.5055 GB, free: 5.184 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.4874, allocations: 0.7448 MB / 0.5062 GB, free: 4.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000563/0.488, allocations: 287.1 kB / 0.5065 GB, free: 4.156 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007511/0.4887, allocations: 287.3 kB / 0.5068 GB, free: 3.875 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.4917, allocations: 1.535 MB / 0.5083 GB, free: 2.336 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4917, allocations: 4 kB / 0.5083 GB, free: 2.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4917, allocations: 4 kB / 0.5083 GB, free: 2.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.567e-06/0.4917, allocations: 0 / 0.5083 GB, free: 2.328 MB / 378.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.002565/0.4942, allocations: 1.072 MB / 0.5093 GB, free: 1.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4943, allocations: 8.031 kB / 0.5093 GB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.4953, allocations: 223 kB / 0.5096 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.4965, allocations: 0.4979 MB / 0.51 GB, free: 480 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.4967, allocations: 159.8 kB / 0.5102 GB, free: 292 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.4968, allocations: 55.94 kB / 0.5103 GB, free: 236 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.4986, allocations: 1.161 MB / 0.5114 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.4986, allocations: 11.94 kB / 0.5114 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/0.4987, allocations: 27.98 kB / 0.5114 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.139e-05/0.4988, allocations: 40.97 kB / 0.5115 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.5, allocations: 0.6088 MB / 0.5121 GB, free: 14.22 MB / 394.7 MB 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.005225/0.5052, allocations: 3.251 MB / 0.5152 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/0.5059, allocations: 339.6 kB / 0.5156 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.5062, allocations: 169.3 kB / 0.5157 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004097/0.5066, allocations: 130.1 kB / 0.5158 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/0.5067, allocations: 38.84 kB / 0.5159 GB, free: 10.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.904e-06/0.5067, allocations: 0 / 0.5159 GB, free: 10.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.006141/0.5128, allocations: 1.574 MB / 0.5174 GB, free: 8.547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.5129, allocations: 132.5 kB / 0.5175 GB, free: 8.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/0.5137, allocations: 0.5338 MB / 0.5181 GB, free: 7.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.5138, allocations: 33.7 kB / 0.5181 GB, free: 7.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.5141, allocations: 384.2 kB / 0.5185 GB, free: 7.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.5143, allocations: 150.7 kB / 0.5186 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.5146, allocations: 150.6 kB / 0.5187 GB, free: 7.121 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002535/0.5148, allocations: 370.7 kB / 0.5191 GB, free: 6.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.5152, allocations: 197.9 kB / 0.5193 GB, free: 6.555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008002/0.516, allocations: 0.5919 MB / 0.5199 GB, free: 5.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.5172, allocations: 0.7372 MB / 0.5206 GB, free: 4.926 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.5172, allocations: 4 kB / 0.5206 GB, free: 4.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001765/0.519, allocations: 0.8958 MB / 0.5215 GB, free: 4.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.519, allocations: 8 kB / 0.5215 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.519, allocations: 12 kB / 0.5215 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/0.5206, allocations: 295.9 kB / 0.5218 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.5211, allocations: 123.8 kB / 0.5219 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.5225, allocations: 0.9191 MB / 0.5228 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/0.523, allocations: 32.06 kB / 0.5228 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.5232, allocations: 63.97 kB / 0.5229 GB, free: 2.547 MB / 394.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.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.0004601/0.5236, allocations: 241.5 kB / 0.5231 GB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.5238, allocations: 75.62 kB / 0.5232 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.5254, allocations: 0.6325 MB / 0.5238 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.5254, allocations: 4 kB / 0.5238 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5254, allocations: 0 / 0.5238 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.5254, allocations: 0 / 0.5238 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.5277, allocations: 1.157 MB / 0.5249 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5277, allocations: 0 / 0.5249 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.5288, allocations: 199.8 kB / 0.5251 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.5289, allocations: 24.84 kB / 0.5251 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.529, allocations: 15.98 kB / 0.5252 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/0.5317, allocations: 2.616 MB / 0.5277 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5317, allocations: 4.344 kB / 0.5277 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.5331, allocations: 0.7899 MB / 0.5285 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.5334, allocations: 103.6 kB / 0.5286 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.5335, allocations: 15.98 kB / 0.5286 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.5339, allocations: 16 kB / 0.5286 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.534, allocations: 39.88 kB / 0.5287 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/0.5341, allocations: 35.98 kB / 0.5287 GB, free: 12.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005579/0.5346, allocations: 358.8 kB / 0.529 GB, free: 11.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5346, allocations: 0 / 0.529 GB, free: 11.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001128/0.5358, allocations: 295.6 kB / 0.5293 GB, free: 11.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (38): * Single equations (assignments): 36 * 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.001256/0.537, allocations: 396.5 kB / 0.5297 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.5384, allocations: 0.5069 MB / 0.5302 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.5384, allocations: 4 kB / 0.5302 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.5396, allocations: 399.8 kB / 0.5306 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.5413, allocations: 317.5 kB / 0.5309 GB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.5439, allocations: 1.22 MB / 0.5321 GB, free: 8.773 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.5444, allocations: 336.3 kB / 0.5324 GB, free: 8.418 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008502/0.5452, allocations: 229.2 kB / 0.5326 GB, free: 8.191 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.5456, allocations: 88.47 kB / 0.5327 GB, free: 8.105 MB / 410.7 MB Notification: Performance of SimCode: time 2.004e-06/0.5456, allocations: 0 / 0.5327 GB, free: 8.105 MB / 410.7 MB Notification: Performance of Templates: time 0.03516/0.5807, allocations: 16.35 MB / 0.5487 GB, free: 7.84 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.908235448994674]