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.001663/0.001663, allocations: 80.34 kB / 22.21 MB, free: 2.281 MB / 18.57 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.001373/0.001373, allocations: 166.2 kB / 25.61 MB, free: 8.578 MB / 18.57 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 1.011/1.011, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.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.1681/0.1681, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.493e-06/1.493e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.884e-05, allocations: 2.875 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3553/0.3553, allocations: 146 MB / 0.5137 GB, free: 16.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.3587, allocations: 2.575 MB / 0.5162 GB, free: 16.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000621/0.3594, allocations: 32.11 kB / 0.5162 GB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.3599, allocations: 208.9 kB / 0.5164 GB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.3622, allocations: 1.095 MB / 0.5175 GB, free: 16.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.3637, allocations: 0.8382 MB / 0.5183 GB, free: 16.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001945/0.3656, allocations: 1.909 MB / 0.5202 GB, free: 16.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006058/0.3663, allocations: 412.2 kB / 0.5206 GB, free: 15.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.3679, allocations: 1.143 MB / 0.5217 GB, free: 15.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007606/0.3687, allocations: 0.5885 MB / 0.5222 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.3688, allocations: 60.81 kB / 0.5223 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008217/0.3696, allocations: 450.3 kB / 0.5227 GB, free: 15.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.3698, allocations: 286.3 kB / 0.523 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.3701, allocations: 287.9 kB / 0.5233 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.3713, allocations: 0.9919 MB / 0.5242 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3713, allocations: 0 / 0.5242 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3713, allocations: 0 / 0.5242 GB, free: 15.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.3713, allocations: 0 / 0.5242 GB, free: 15.64 MB / 410.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.001381/0.3727, allocations: 1.128 MB / 0.5253 GB, free: 15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.3727, allocations: 8.969 kB / 0.5254 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005265/0.3732, allocations: 216.5 kB / 0.5256 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.3738, allocations: 482.2 kB / 0.526 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.304e-05/0.3739, allocations: 158.4 kB / 0.5262 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/0.374, allocations: 57.52 kB / 0.5262 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.3746, allocations: 0.9403 MB / 0.5271 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3746, allocations: 5.062 kB / 0.5272 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.3747, allocations: 24.97 kB / 0.5272 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.3747, allocations: 37.19 kB / 0.5272 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.3751, allocations: 259.9 kB / 0.5275 GB, free: 13.85 MB / 410.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.002065/0.3771, allocations: 3.78 MB / 0.5312 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.3774, allocations: 187.2 kB / 0.5313 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.3776, allocations: 82.28 kB / 0.5314 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.128e-05/0.3776, allocations: 20.22 kB / 0.5314 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3777, allocations: 44.05 kB / 0.5315 GB, free: 10.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/0.3777, allocations: 0 / 0.5315 GB, free: 10.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002368/0.38, allocations: 0.9914 MB / 0.5324 GB, free: 10.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.3801, allocations: 138.3 kB / 0.5326 GB, free: 10.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.3804, allocations: 0.5502 MB / 0.5331 GB, free: 10.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.3804, allocations: 32.39 kB / 0.5331 GB, free: 10.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.3806, allocations: 446.7 kB / 0.5336 GB, free: 9.797 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.029e-05/0.3806, allocations: 148.1 kB / 0.5337 GB, free: 9.707 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3808, allocations: 169.7 kB / 0.5339 GB, free: 9.676 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.118e-05/0.3809, allocations: 0.5432 MB / 0.5344 GB, free: 9.184 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.381, allocations: 79.56 kB / 0.5345 GB, free: 9.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.3812, allocations: 0.6308 MB / 0.5351 GB, free: 8.477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.3816, allocations: 0.6642 MB / 0.5357 GB, free: 7.887 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3816, allocations: 6.656 kB / 0.5357 GB, free: 7.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006408/0.3822, allocations: 0.626 MB / 0.5364 GB, free: 7.785 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3822, allocations: 12.19 kB / 0.5364 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3823, allocations: 11 kB / 0.5364 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006485/0.3829, allocations: 244.4 kB / 0.5366 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.3831, allocations: 130.9 kB / 0.5367 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004813/0.3836, allocations: 0.9863 MB / 0.5377 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.3839, allocations: 23.81 kB / 0.5377 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.3839, allocations: 55.94 kB / 0.5378 GB, free: 6.957 MB / 410.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.0001713/0.3841, allocations: 213.9 kB / 0.538 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/0.3842, allocations: 80.98 kB / 0.5381 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000746/0.3849, allocations: 0.6618 MB / 0.5387 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3849, allocations: 7.344 kB / 0.5387 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.3849, allocations: 0 / 0.5387 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3849, allocations: 1.312 kB / 0.5387 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009034/0.3859, allocations: 0.8275 MB / 0.5395 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3859, allocations: 3.312 kB / 0.5395 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/0.3863, allocations: 175.6 kB / 0.5397 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.78e-05/0.3864, allocations: 25.91 kB / 0.5397 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.3864, allocations: 17.28 kB / 0.5397 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008472/0.3873, allocations: 3.512 MB / 0.5432 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3873, allocations: 4.156 kB / 0.5432 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.3877, allocations: 0.5652 MB / 0.5437 GB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.3879, allocations: 99.48 kB / 0.5438 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.3879, allocations: 15.06 kB / 0.5438 GB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.3881, allocations: 13.62 kB / 0.5438 GB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.3882, allocations: 44.55 kB / 0.5439 GB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.3882, allocations: 30.95 kB / 0.5439 GB, free: 2.371 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000197/0.3884, allocations: 322.6 kB / 0.5442 GB, free: 2.242 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3884, allocations: 0 / 0.5442 GB, free: 2.242 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006894/0.3891, allocations: 249.6 kB / 0.5445 GB, free: 2.23 MB / 410.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.0004164/0.3895, allocations: 267.8 kB / 0.5447 GB, free: 2.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000496/0.39, allocations: 357.9 kB / 0.5451 GB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.39, allocations: 0 / 0.5451 GB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.3904, allocations: 362.9 kB / 0.5454 GB, free: 1.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007903/0.3912, allocations: 313.3 kB / 0.5457 GB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.3928, allocations: 1.165 MB / 0.5468 GB, free: 1.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.094e-05/0.3929, allocations: 169.7 kB / 0.547 GB, free: 1.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005328/0.3934, allocations: 362.3 kB / 0.5473 GB, free: 0.918 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005018/0.394, allocations: 376 kB / 0.5477 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/0.394, allocations: 4 kB / 0.5477 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of Templates: time 0.01908/0.413, allocations: 16.78 MB / 0.5641 GB, free: 5.488 MB / 426.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 -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: 4.307500817812979]