Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001499/0.002635, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007117/0.0007117, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009603/0.001672, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9869/0.9869, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1095/1.096, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2719/0.2719, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02643/0.2983, allocations: 13.24 MB / 292.8 MB, free: 6.391 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.338e-05, allocations: 5.688 kB / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4005/0.4006, allocations: 148.6 MB / 442.7 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004417/0.405, allocations: 2.647 MB / 445.3 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/0.4053, allocations: 30.91 kB / 445.3 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.4058, allocations: 210.5 kB / 445.5 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.4076, allocations: 1.061 MB / 446.6 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.4092, allocations: 0.8097 MB / 447.4 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.4109, allocations: 1.925 MB / 449.3 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.4114, allocations: 415.2 kB / 449.7 MB, free: 3.469 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.4129, allocations: 1.184 MB / 450.9 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006626/0.4135, allocations: 0.5612 MB / 451.5 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.4136, allocations: 62.98 kB / 451.6 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006974/0.4143, allocations: 481.2 kB / 452 MB, free: 3.441 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.4145, allocations: 236.2 kB / 452.3 MB, free: 3.441 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.4147, allocations: 233.1 kB / 452.5 MB, free: 3.438 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009795/0.4157, allocations: 0.8727 MB / 453.4 MB, free: 3.344 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.4157, allocations: 3.625 kB / 453.4 MB, free: 3.344 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4157, allocations: 0.9375 kB / 453.4 MB, free: 3.344 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.4158, allocations: 0 / 453.4 MB, free: 3.344 MB / 426.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.001531/0.4173, allocations: 1.239 MB / 454.6 MB, free: 18.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.4173, allocations: 13.77 kB / 454.6 MB, free: 18.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005662/0.4179, allocations: 202.3 kB / 454.8 MB, free: 18.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.4184, allocations: 415.2 kB / 455.2 MB, free: 18.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.528e-05/0.4185, allocations: 155.2 kB / 455.4 MB, free: 18.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.4185, allocations: 64.14 kB / 455.4 MB, free: 18.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/0.4191, allocations: 0.8862 MB / 456.3 MB, free: 17.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.4191, allocations: 3.094 kB / 456.3 MB, free: 17.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.4192, allocations: 26.41 kB / 456.3 MB, free: 17.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/0.4192, allocations: 40.23 kB / 456.4 MB, free: 17.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.4195, allocations: 224.6 kB / 456.6 MB, free: 17.73 MB / 442.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.001979/0.4214, allocations: 2.654 MB / 459.3 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.4217, allocations: 177.8 kB / 459.4 MB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.928e-05/0.4217, allocations: 66.03 kB / 459.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.4218, allocations: 37.28 kB / 459.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.4219, allocations: 37.62 kB / 459.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.303e-06/0.4219, allocations: 4.656 kB / 459.6 MB, free: 15.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.002191/0.424, allocations: 0.9497 MB / 460.5 MB, free: 15.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.4241, allocations: 56.91 kB / 460.6 MB, free: 15.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.4243, allocations: 479.5 kB / 461 MB, free: 15.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.4244, allocations: 36.89 kB / 461.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.4245, allocations: 343.1 kB / 461.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.4246, allocations: 152.4 kB / 461.6 MB, free: 14.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.4247, allocations: 145.8 kB / 461.7 MB, free: 14.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.4248, allocations: 375.7 kB / 462.1 MB, free: 14.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.4249, allocations: 65.45 kB / 462.1 MB, free: 14.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.4251, allocations: 495.4 kB / 462.6 MB, free: 14.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.4254, allocations: 0.5629 MB / 463.2 MB, free: 13.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4254, allocations: 2.906 kB / 463.2 MB, free: 13.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0004993/0.4259, allocations: 497.9 kB / 463.7 MB, free: 13.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.426, allocations: 11.34 kB / 463.7 MB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.426, allocations: 12.72 kB / 463.7 MB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004917/0.4265, allocations: 214.8 kB / 463.9 MB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.4267, allocations: 141.2 kB / 464 MB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004034/0.4271, allocations: 0.6807 MB / 464.7 MB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.4273, allocations: 26.22 kB / 464.8 MB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.4273, allocations: 46.61 kB / 464.8 MB, free: 13.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001461/0.4275, allocations: 168.7 kB / 465 MB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.4275, allocations: 50.62 kB / 465 MB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005754/0.4281, allocations: 0.5723 MB / 465.6 MB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4281, allocations: 3.469 kB / 465.6 MB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.4281, allocations: 0 / 465.6 MB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4281, allocations: 3.984 kB / 465.6 MB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007612/0.4289, allocations: 0.7238 MB / 466.3 MB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4289, allocations: 2.906 kB / 466.3 MB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/0.4295, allocations: 199.4 kB / 466.5 MB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.4296, allocations: 74.95 kB / 466.6 MB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-05/0.4297, allocations: 17.23 kB / 466.6 MB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.4297, allocations: 20.47 kB / 466.6 MB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.4309, allocations: 2.413 MB / 469 MB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4309, allocations: 3.625 kB / 469 MB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.4314, allocations: 467.8 kB / 469.5 MB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.4315, allocations: 6.688 kB / 469.5 MB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.4317, allocations: 18.72 kB / 469.5 MB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.4317, allocations: 40.7 kB / 469.6 MB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.4318, allocations: 24.67 kB / 469.6 MB, free: 9.848 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.4319, allocations: 208.3 kB / 469.8 MB, free: 9.828 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4319, allocations: 0 / 469.8 MB, free: 9.828 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006217/0.4326, allocations: 244.5 kB / 470 MB, free: 9.812 MB / 442.7 MB 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 (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.0004281/0.433, allocations: 233 kB / 470.3 MB, free: 9.727 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005064/0.4335, allocations: 336.1 kB / 470.6 MB, free: 9.688 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.443e-05/0.4335, allocations: 13.08 kB / 470.6 MB, free: 9.688 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004963/0.434, allocations: 322.4 kB / 470.9 MB, free: 9.555 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.4354, allocations: 1.835 MB / 472.7 MB, free: 7.828 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00978/0.4452, allocations: 1.146 MB / 473.9 MB, free: 7.262 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.4454, allocations: 164 kB / 474.1 MB, free: 7.188 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005956/0.4459, allocations: 319.3 kB / 474.4 MB, free: 7.148 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000629/0.4466, allocations: 314.7 kB / 474.7 MB, free: 7.094 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4466, allocations: 0 / 474.7 MB, free: 7.094 MB / 442.7 MB Notification: Performance of Templates: time 0.02066/0.4672, allocations: 16.43 MB / 491.1 MB, free: 4.512 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.593850730918348]