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.001112/0.001112, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001688/0.0028, allocations: 449.7 kB / 10.37 MB, free: 324 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.001087/0.001087, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00165/0.002737, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9902/0.9902, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09452/1.085, allocations: 53.86 MB / 243.8 MB, free: 14.9 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.2853/0.2853, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02392/0.3092, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.483e-06/1.483e-06, allocations: 3.938 kB / 293.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.741e-05, allocations: 2.312 kB / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1414/0.1414, allocations: 148.5 MB / 442.4 MB, free: 48 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2125/0.3539, allocations: 2.642 MB / 445.1 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005952/0.3545, allocations: 30.31 kB / 445.1 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.355, allocations: 213 kB / 445.3 MB, free: 3.59 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.3572, allocations: 1.062 MB / 446.4 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.3588, allocations: 0.8124 MB / 447.2 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.3608, allocations: 1.926 MB / 449.1 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006922/0.3615, allocations: 413.8 kB / 449.5 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.3632, allocations: 1.184 MB / 450.7 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008082/0.364, allocations: 0.5586 MB / 451.3 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.3641, allocations: 60.98 kB / 451.3 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008699/0.365, allocations: 487.2 kB / 451.8 MB, free: 3.477 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.3652, allocations: 228.4 kB / 452 MB, free: 3.477 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003027/0.3655, allocations: 228.3 kB / 452.2 MB, free: 3.477 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3665, allocations: 0.8723 MB / 453.1 MB, free: 3.387 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.326e-05/0.3666, allocations: 3.031 kB / 453.1 MB, free: 3.387 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3666, allocations: 0.9375 kB / 453.1 MB, free: 3.387 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.3666, allocations: 0 / 453.1 MB, free: 3.387 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.001469/0.368, allocations: 1.238 MB / 454.4 MB, free: 18.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.3681, allocations: 12.94 kB / 454.4 MB, free: 18.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.3686, allocations: 209.3 kB / 454.6 MB, free: 18.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.369, allocations: 415.3 kB / 455 MB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.123e-05/0.3691, allocations: 154.2 kB / 455.1 MB, free: 18.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/0.3692, allocations: 61.36 kB / 455.2 MB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.3697, allocations: 0.8897 MB / 456.1 MB, free: 17.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3697, allocations: 2.562 kB / 456.1 MB, free: 17.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.3698, allocations: 24.75 kB / 456.1 MB, free: 17.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/0.3698, allocations: 40.19 kB / 456.1 MB, free: 17.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.3701, allocations: 235.5 kB / 456.4 MB, free: 17.77 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.001841/0.3719, allocations: 2.653 MB / 459 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.3721, allocations: 169.3 kB / 459.2 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.3722, allocations: 66.92 kB / 459.3 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.3723, allocations: 39.97 kB / 459.3 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.3723, allocations: 38.31 kB / 459.3 MB, free: 15.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.3723, allocations: 0.875 kB / 459.3 MB, free: 15.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.001943/0.3742, allocations: 0.9067 MB / 460.2 MB, free: 15.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.3743, allocations: 56.62 kB / 460.3 MB, free: 15.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.3745, allocations: 485.2 kB / 460.8 MB, free: 15.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.3746, allocations: 32.23 kB / 460.8 MB, free: 15.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3747, allocations: 342.7 kB / 461.1 MB, free: 15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.3747, allocations: 153.9 kB / 461.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3749, allocations: 143.7 kB / 461.4 MB, free: 14.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.375, allocations: 374.8 kB / 461.8 MB, free: 14.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.375, allocations: 66.39 kB / 461.9 MB, free: 14.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.3753, allocations: 494.7 kB / 462.3 MB, free: 14.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.3756, allocations: 0.5328 MB / 462.9 MB, free: 13.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3756, allocations: 2.938 kB / 462.9 MB, free: 13.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005199/0.3761, allocations: 496.6 kB / 463.4 MB, free: 13.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3762, allocations: 8.344 kB / 463.4 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3762, allocations: 17.75 kB / 463.4 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/0.3767, allocations: 215.8 kB / 463.6 MB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.3769, allocations: 146.2 kB / 463.7 MB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004336/0.3773, allocations: 0.6695 MB / 464.4 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.3775, allocations: 32.81 kB / 464.4 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.3776, allocations: 47.16 kB / 464.5 MB, free: 13.07 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.0001732/0.3778, allocations: 167.7 kB / 464.6 MB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.3778, allocations: 47.17 kB / 464.7 MB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000658/0.3785, allocations: 0.5786 MB / 465.3 MB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3785, allocations: 9.219 kB / 465.3 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3785, allocations: 0 / 465.3 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3785, allocations: 4.062 kB / 465.3 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008084/0.3793, allocations: 0.7223 MB / 466 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3793, allocations: 2.094 kB / 466 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.3798, allocations: 195.8 kB / 466.2 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.362e-05/0.3799, allocations: 72.02 kB / 466.3 MB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.206e-05/0.38, allocations: 23.91 kB / 466.3 MB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.38, allocations: 17.53 kB / 466.3 MB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.3811, allocations: 2.404 MB / 468.7 MB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3811, allocations: 0 / 468.7 MB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.3815, allocations: 467.6 kB / 469.2 MB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.3816, allocations: 16.98 kB / 469.2 MB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.3817, allocations: 10.06 kB / 469.2 MB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.3818, allocations: 47.22 kB / 469.2 MB, free: 9.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.3818, allocations: 27.44 kB / 469.3 MB, free: 9.883 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3819, allocations: 197.9 kB / 469.5 MB, free: 9.863 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3819, allocations: 0 / 469.5 MB, free: 9.863 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005219/0.3825, allocations: 249.5 kB / 469.7 MB, free: 9.848 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.0003834/0.3828, allocations: 232.3 kB / 469.9 MB, free: 9.766 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.3833, allocations: 326 kB / 470.3 MB, free: 9.746 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.107e-05/0.3833, allocations: 15.23 kB / 470.3 MB, free: 9.746 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.3836, allocations: 301.7 kB / 470.6 MB, free: 9.613 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.3844, allocations: 386.5 kB / 470.9 MB, free: 9.586 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007268/0.3916, allocations: 1.151 MB / 472.1 MB, free: 9.012 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.3917, allocations: 170 kB / 472.3 MB, free: 8.938 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005513/0.3923, allocations: 359.3 kB / 472.6 MB, free: 8.898 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/0.3928, allocations: 314.4 kB / 472.9 MB, free: 8.844 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3928, allocations: 0 / 472.9 MB, free: 8.844 MB / 442.7 MB Notification: Performance of Templates: time 0.01852/0.4113, allocations: 16.51 MB / 489.4 MB, free: 6.242 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.639616218395531]