Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001613/0.001613, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001934/0.001934, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.471/1.471, allocations: 230.6 MB / 258.2 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.2309/0.2309, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 71.91 kB / 0.4973 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2829, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1919/0.4748, allocations: 153.9 MB / 0.7121 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007603/0.4824, allocations: 4.917 MB / 0.7169 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.4828, allocations: 31.69 kB / 0.7169 GB, free: 4.723 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009205/0.4837, allocations: 306 kB / 0.7172 GB, free: 4.422 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003144/0.4869, allocations: 1.286 MB / 0.7185 GB, free: 3.137 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.4893, allocations: 0.9887 MB / 0.7194 GB, free: 2.152 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002296/0.4916, allocations: 1.879 MB / 0.7213 GB, free: 272 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006188/0.4923, allocations: 392.4 kB / 0.7217 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.4944, allocations: 1.113 MB / 0.7227 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.4955, allocations: 0.7202 MB / 0.7234 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.4956, allocations: 60 kB / 0.7235 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.4968, allocations: 0.5647 MB / 0.7241 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003105/0.4972, allocations: 275.2 kB / 0.7243 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.4975, allocations: 330.6 kB / 0.7246 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.4993, allocations: 1.3 MB / 0.7259 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4993, allocations: 4 kB / 0.7259 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4993, allocations: 0 / 0.7259 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.4993, allocations: 4 kB / 0.7259 GB, free: 11.52 MB / 0.5606 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.002396/0.5017, allocations: 1.041 MB / 0.7269 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.5017, allocations: 12.03 kB / 0.7269 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008899/0.5026, allocations: 139.4 kB / 0.7271 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.5037, allocations: 481.4 kB / 0.7275 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.5038, allocations: 151.8 kB / 0.7277 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.5039, allocations: 51.98 kB / 0.7277 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.5055, allocations: 1.136 MB / 0.7288 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.5055, allocations: 11.88 kB / 0.7288 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.7e-05/0.5056, allocations: 27.98 kB / 0.7289 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.24e-05/0.5057, allocations: 44.92 kB / 0.7289 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.5068, allocations: 0.6204 MB / 0.7295 GB, free: 7.574 MB / 0.5606 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.004705/0.5116, allocations: 3.208 MB / 0.7327 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.5122, allocations: 339.6 kB / 0.733 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.5125, allocations: 157.3 kB / 0.7331 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.539e-05/0.5126, allocations: 20.27 kB / 0.7331 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.5126, allocations: 38.84 kB / 0.7332 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.774e-06/0.5126, allocations: 4 kB / 0.7332 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006052/0.5187, allocations: 1.594 MB / 0.7347 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/0.5188, allocations: 136.5 kB / 0.7349 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006795/0.5194, allocations: 0.5338 MB / 0.7354 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.5195, allocations: 37.7 kB / 0.7354 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.5198, allocations: 388.2 kB / 0.7358 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.52, allocations: 146.8 kB / 0.7359 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.5202, allocations: 158.6 kB / 0.7361 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.5204, allocations: 366.8 kB / 0.7364 GB, free: 232 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.5208, allocations: 205.8 kB / 0.7366 GB, free: 24 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2257/0.7465, allocations: 0.584 MB / 0.7372 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.7477, allocations: 0.7519 MB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.7477, allocations: 2.844 kB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001973/0.7496, allocations: 0.8709 MB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.7497, allocations: 9.781 kB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.7497, allocations: 12.03 kB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/0.7513, allocations: 309 kB / 0.7391 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.7517, allocations: 126.2 kB / 0.7392 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.7527, allocations: 0.9316 MB / 0.7401 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/0.7533, allocations: 28.86 kB / 0.7402 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/0.7533, allocations: 70.11 kB / 0.7402 GB, free: 173.6 MB / 0.5606 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.0003169/0.7537, allocations: 246 kB / 0.7405 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.7538, allocations: 66.72 kB / 0.7405 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.7553, allocations: 0.8611 MB / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.7553, allocations: 3.938 kB / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7553, allocations: 0 / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.7553, allocations: 2.344 kB / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.7571, allocations: 1.09 MB / 0.7424 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7571, allocations: 0 / 0.7424 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.7582, allocations: 212.1 kB / 0.7426 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.883e-05/0.7583, allocations: 24.42 kB / 0.7427 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.7583, allocations: 23.78 kB / 0.7427 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.7597, allocations: 2.623 MB / 0.7453 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7597, allocations: 5.797 kB / 0.7453 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.7607, allocations: 0.8192 MB / 0.7461 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.7609, allocations: 100.2 kB / 0.7462 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.761, allocations: 23.58 kB / 0.7462 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.7614, allocations: 13.75 kB / 0.7462 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/0.7615, allocations: 46.27 kB / 0.7462 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.857e-05/0.7616, allocations: 39.52 kB / 0.7463 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003347/0.7619, allocations: 362.3 kB / 0.7466 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7619, allocations: 0 / 0.7466 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008789/0.7628, allocations: 257.2 kB / 0.7469 GB, free: 168.2 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 (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.0005988/0.7634, allocations: 272 kB / 0.7471 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.7644, allocations: 0.533 MB / 0.7476 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7644, allocations: 0 / 0.7476 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000907/0.7654, allocations: 407.6 kB / 0.748 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.7667, allocations: 304.8 kB / 0.7483 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.7684, allocations: 1.337 MB / 0.7496 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.7686, allocations: 344.2 kB / 0.75 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007909/0.7694, allocations: 445.5 kB / 0.7504 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.7697, allocations: 111.4 kB / 0.7505 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.7697, allocations: 0 / 0.7505 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.02025/0.7899, allocations: 16.92 MB / 0.767 GB, free: 148.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.978402541994001]