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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 105.9 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 194.2 kB / 23.52 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 252.1 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2408/0.2408, allocations: 44.91 MB / 352.1 MB, free: 12.3 MB / 286.1 MB [Timeout remaining time 89] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001992/0.001992, allocations: 71.88 kB / 495.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4245, allocations: 64.24 MB / 0.5468 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2393/0.6638, allocations: 174.9 MB / 0.7176 GB, free: 324 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009296/0.6731, allocations: 5.35 MB / 0.7228 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.6742, allocations: 19.88 kB / 0.7228 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.6753, allocations: 330 kB / 0.7232 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004308/0.6797, allocations: 1.269 MB / 0.7244 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.6827, allocations: 0.9577 MB / 0.7253 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002963/0.6857, allocations: 1.852 MB / 0.7271 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007817/0.6865, allocations: 425 kB / 0.7276 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/0.6892, allocations: 1.078 MB / 0.7286 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.6905, allocations: 0.7046 MB / 0.7293 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.6906, allocations: 60 kB / 0.7293 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.6924, allocations: 0.632 MB / 0.73 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.6928, allocations: 275.1 kB / 0.7302 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005446/0.6933, allocations: 390.2 kB / 0.7306 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002446/0.6958, allocations: 1.312 MB / 0.7319 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6958, allocations: 0 / 0.7319 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6958, allocations: 3.938 kB / 0.7319 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.6958, allocations: 0 / 0.7319 GB, free: 1.664 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.00273/0.6985, allocations: 1.125 MB / 0.733 GB, free: 500 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.6986, allocations: 8.031 kB / 0.733 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000863/0.6994, allocations: 143.5 kB / 0.7331 GB, free: 348 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3724/1.072, allocations: 0.5278 MB / 0.7336 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/1.072, allocations: 102.6 kB / 0.7337 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/1.072, allocations: 46.69 kB / 0.7338 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/1.074, allocations: 0.8151 MB / 0.7346 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/1.074, allocations: 9.469 kB / 0.7346 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.954e-05/1.074, allocations: 23.88 kB / 0.7346 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/1.074, allocations: 41.8 kB / 0.7347 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/1.076, allocations: 0.6191 MB / 0.7353 GB, free: 185.1 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.004577/1.08, allocations: 3.959 MB / 0.7391 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/1.081, allocations: 340.3 kB / 0.7394 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/1.081, allocations: 160.8 kB / 0.7396 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/1.081, allocations: 88.08 kB / 0.7397 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/1.081, allocations: 41.28 kB / 0.7397 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.875e-06/1.081, allocations: 0.5469 kB / 0.7397 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005632/1.087, allocations: 1.693 MB / 0.7414 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/1.087, allocations: 133.5 kB / 0.7415 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007617/1.088, allocations: 0.61 MB / 0.7421 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/1.088, allocations: 35.95 kB / 0.7421 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/1.088, allocations: 375 kB / 0.7425 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/1.088, allocations: 153.8 kB / 0.7426 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/1.088, allocations: 153.3 kB / 0.7428 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.088, allocations: 382.1 kB / 0.7432 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/1.089, allocations: 202.9 kB / 0.7433 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/1.089, allocations: 0.5176 MB / 0.7439 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009239/1.09, allocations: 0.7418 MB / 0.7446 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.09, allocations: 2.906 kB / 0.7446 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001427/1.092, allocations: 0.885 MB / 0.7454 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.092, allocations: 12.84 kB / 0.7455 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.092, allocations: 11.91 kB / 0.7455 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/1.093, allocations: 316.4 kB / 0.7458 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/1.093, allocations: 122.5 kB / 0.7459 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009559/1.094, allocations: 0.9376 MB / 0.7468 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/1.095, allocations: 27.95 kB / 0.7468 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/1.095, allocations: 66.56 kB / 0.7469 GB, free: 176.3 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.0003156/1.095, allocations: 246.3 kB / 0.7471 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/1.095, allocations: 72.33 kB / 0.7472 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.097, allocations: 0.8735 MB / 0.748 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.097, allocations: 4 kB / 0.7481 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.097, allocations: 3.938 kB / 0.7481 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.097, allocations: 3.984 kB / 0.7481 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/1.098, allocations: 1.459 MB / 0.7495 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.098, allocations: 0 / 0.7495 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009566/1.099, allocations: 211.9 kB / 0.7497 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-05/1.099, allocations: 20.84 kB / 0.7497 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/1.1, allocations: 23.98 kB / 0.7497 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/1.101, allocations: 2.879 MB / 0.7525 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.101, allocations: 0 / 0.7525 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000978/1.102, allocations: 0.8265 MB / 0.7533 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/1.102, allocations: 188.7 kB / 0.7535 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.532e-05/1.102, allocations: 12.06 kB / 0.7535 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/1.103, allocations: 23.98 kB / 0.7536 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.71e-05/1.103, allocations: 39.89 kB / 0.7536 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/1.103, allocations: 43.98 kB / 0.7536 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004213/1.103, allocations: 439 kB / 0.7541 GB, free: 169 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.103, allocations: 0 / 0.7541 GB, free: 169 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008913/1.104, allocations: 259.7 kB / 0.7543 GB, free: 168.7 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.0007348/1.105, allocations: 304.8 kB / 0.7546 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001001/1.106, allocations: 0.534 MB / 0.7551 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.106, allocations: 0 / 0.7551 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008207/1.107, allocations: 402.2 kB / 0.7555 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/1.108, allocations: 372.5 kB / 0.7559 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/1.11, allocations: 1.408 MB / 0.7572 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/1.11, allocations: 0.9222 MB / 0.7581 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/1.111, allocations: 127.4 kB / 0.7583 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of SimCode: time 7.02e-07/1.111, allocations: 0 / 0.7583 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.01775/1.128, allocations: 16.59 MB / 0.7745 GB, free: 148.1 MB / 0.5606 GB [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/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