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.001417/0.001417, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001507/0.001507, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2438/0.2438, allocations: 46.97 MB / 361.6 MB, free: 4.051 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.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.002069/0.002069, allocations: 68.12 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3556, allocations: 66.03 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2019/0.5574, allocations: 153.9 MB / 0.7121 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007895/0.5653, allocations: 4.918 MB / 0.7169 GB, free: 4.801 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007087/0.566, allocations: 31.69 kB / 0.7169 GB, free: 4.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009968/0.567, allocations: 306 kB / 0.7172 GB, free: 4.469 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.5706, allocations: 1.285 MB / 0.7185 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.5733, allocations: 0.9812 MB / 0.7194 GB, free: 2.211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00257/0.5759, allocations: 1.867 MB / 0.7213 GB, free: 344 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006954/0.5766, allocations: 389.7 kB / 0.7216 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.5791, allocations: 1.121 MB / 0.7227 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.5803, allocations: 0.6929 MB / 0.7234 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.5804, allocations: 60 kB / 0.7235 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.5818, allocations: 0.5462 MB / 0.724 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003203/0.5821, allocations: 271.2 kB / 0.7243 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004101/0.5826, allocations: 338.6 kB / 0.7246 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.5844, allocations: 1.297 MB / 0.7258 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.5844, allocations: 0 / 0.7258 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.275e-06/0.5844, allocations: 7.938 kB / 0.7259 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.5845, allocations: 0 / 0.7259 GB, free: 11.62 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.002272/0.5867, allocations: 1.045 MB / 0.7269 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5868, allocations: 8.031 kB / 0.7269 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008565/0.5876, allocations: 151.3 kB / 0.727 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000989/0.5886, allocations: 481.4 kB / 0.7275 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.5888, allocations: 147.8 kB / 0.7276 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.5889, allocations: 51.98 kB / 0.7277 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.5904, allocations: 1.136 MB / 0.7288 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.5904, allocations: 7.938 kB / 0.7288 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.5905, allocations: 24 kB / 0.7288 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-05/0.5906, allocations: 44.91 kB / 0.7289 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.5917, allocations: 0.6166 MB / 0.7295 GB, free: 7.688 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.004559/0.5962, allocations: 3.215 MB / 0.7326 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/0.5968, allocations: 335.6 kB / 0.7329 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.5971, allocations: 161.3 kB / 0.7331 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.524e-05/0.5972, allocations: 16.28 kB / 0.7331 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.5973, allocations: 42.84 kB / 0.7331 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.5973, allocations: 0 / 0.7331 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005657/0.6029, allocations: 1.594 MB / 0.7347 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/0.603, allocations: 140.4 kB / 0.7348 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007114/0.6037, allocations: 0.526 MB / 0.7353 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.6038, allocations: 37.7 kB / 0.7354 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.6041, allocations: 384.2 kB / 0.7357 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.6042, allocations: 154.7 kB / 0.7359 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.6045, allocations: 158.6 kB / 0.736 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.6046, allocations: 366.8 kB / 0.7364 GB, free: 344 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.605, allocations: 209.8 kB / 0.7366 GB, free: 132 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2651/0.8702, allocations: 0.5854 MB / 0.7372 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.8713, allocations: 0.7509 MB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.8713, allocations: 2.688 kB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001798/0.8731, allocations: 0.8702 MB / 0.7387 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.8732, allocations: 9.594 kB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.8732, allocations: 13.69 kB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.8746, allocations: 318.5 kB / 0.7391 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.875, allocations: 123.8 kB / 0.7392 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009518/0.876, allocations: 0.93 MB / 0.7401 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.8764, allocations: 32.42 kB / 0.7401 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/0.8765, allocations: 61.73 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.0003252/0.8769, allocations: 256.1 kB / 0.7404 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.877, allocations: 62.62 kB / 0.7405 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.8784, allocations: 0.8557 MB / 0.7413 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.8784, allocations: 3.938 kB / 0.7413 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.8784, allocations: 3.219 kB / 0.7413 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.8784, allocations: 2.391 kB / 0.7413 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.88, allocations: 1.09 MB / 0.7424 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.88, allocations: 0 / 0.7424 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009511/0.881, allocations: 209.8 kB / 0.7426 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.66e-05/0.8811, allocations: 20.98 kB / 0.7426 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.8811, allocations: 31.19 kB / 0.7427 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.8824, allocations: 2.623 MB / 0.7452 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8824, allocations: 7.969 kB / 0.7452 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000979/0.8834, allocations: 0.8094 MB / 0.746 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.8836, allocations: 104.8 kB / 0.7461 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.583e-05/0.8837, allocations: 15.94 kB / 0.7461 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.884, allocations: 23.11 kB / 0.7461 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.8841, allocations: 38.28 kB / 0.7462 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.8842, allocations: 43.52 kB / 0.7462 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003215/0.8845, allocations: 362 kB / 0.7466 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8845, allocations: 0 / 0.7466 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007968/0.8853, allocations: 258.8 kB / 0.7468 GB, free: 168.4 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.0005333/0.8858, allocations: 282.7 kB / 0.7471 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009524/0.8868, allocations: 0.5249 MB / 0.7476 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8868, allocations: 0 / 0.7476 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008141/0.8876, allocations: 403.1 kB / 0.748 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.8889, allocations: 302.8 kB / 0.7483 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.8906, allocations: 1.382 MB / 0.7496 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.8908, allocations: 336.2 kB / 0.7499 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.8911, allocations: 123.4 kB / 0.7501 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of SimCode: time 4.7e-07/0.8911, allocations: 0 / 0.7501 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.0153/0.9064, allocations: 16.08 MB / 0.7658 GB, free: 149.2 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 -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: 11.152438252232969]