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.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.0008867/0.0008867, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.00098/0.00098, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9601/0.9601, allocations: 177.1 MB / 205 MB, free: 5.23 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2525/0.2525, allocations: 32.81 MB / 294.3 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] 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.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.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 1.633e-06/1.633e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.355e-05, allocations: 4.703 kB / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3429/0.3429, allocations: 148.7 MB / 0.5125 GB, free: 17.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004117/0.3471, allocations: 2.598 MB / 0.515 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000511/0.3476, allocations: 27.06 kB / 0.515 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006225/0.3482, allocations: 211.6 kB / 0.5152 GB, free: 15.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.3504, allocations: 1.091 MB / 0.5163 GB, free: 15.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.3519, allocations: 0.8328 MB / 0.5171 GB, free: 14.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.3537, allocations: 1.903 MB / 0.519 GB, free: 13.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006735/0.3544, allocations: 419.1 kB / 0.5194 GB, free: 13.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.3558, allocations: 1.057 MB / 0.5204 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.3573, allocations: 0.6439 MB / 0.521 GB, free: 12.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.3576, allocations: 61.22 kB / 0.5211 GB, free: 12.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.3586, allocations: 447.1 kB / 0.5215 GB, free: 12.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.3588, allocations: 291.8 kB / 0.5218 GB, free: 12.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.3591, allocations: 288.1 kB / 0.5221 GB, free: 12.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.3606, allocations: 1 MB / 0.523 GB, free: 12.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3606, allocations: 3.938 kB / 0.523 GB, free: 12.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3606, allocations: 0 / 0.523 GB, free: 12.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.3606, allocations: 0 / 0.523 GB, free: 12.08 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.001727/0.3623, allocations: 1.133 MB / 0.5242 GB, free: 11.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3624, allocations: 8.219 kB / 0.5242 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006387/0.363, allocations: 225.3 kB / 0.5244 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007364/0.3637, allocations: 492.7 kB / 0.5248 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.3639, allocations: 151.8 kB / 0.525 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.795e-05/0.364, allocations: 57.25 kB / 0.525 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000906/0.3649, allocations: 1.011 MB / 0.526 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.3649, allocations: 0 / 0.526 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.3649, allocations: 20.97 kB / 0.5261 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-05/0.365, allocations: 42.73 kB / 0.5261 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.3655, allocations: 307.5 kB / 0.5264 GB, free: 9.805 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.002517/0.3681, allocations: 3.867 MB / 0.5302 GB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.3684, allocations: 221.8 kB / 0.5304 GB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3685, allocations: 87.64 kB / 0.5305 GB, free: 6.395 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.525e-05/0.3686, allocations: 18.11 kB / 0.5305 GB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3686, allocations: 43.33 kB / 0.5305 GB, free: 6.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.3686, allocations: 0 / 0.5305 GB, free: 6.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002925/0.3716, allocations: 1.157 MB / 0.5316 GB, free: 5.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.3716, allocations: 141.2 kB / 0.5318 GB, free: 5.609 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.372, allocations: 0.5453 MB / 0.5323 GB, free: 5.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.372, allocations: 32.73 kB / 0.5323 GB, free: 5.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.3722, allocations: 434.7 kB / 0.5328 GB, free: 4.906 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/0.3723, allocations: 150.6 kB / 0.5329 GB, free: 4.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.3724, allocations: 163.9 kB / 0.5331 GB, free: 4.703 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.3725, allocations: 0.5465 MB / 0.5336 GB, free: 4.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.3726, allocations: 87.28 kB / 0.5337 GB, free: 4.172 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.3729, allocations: 0.6175 MB / 0.5343 GB, free: 3.461 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.3735, allocations: 0.6696 MB / 0.5349 GB, free: 2.789 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.3735, allocations: 2.844 kB / 0.5349 GB, free: 2.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008423/0.3744, allocations: 0.6505 MB / 0.5356 GB, free: 2.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.3744, allocations: 8.969 kB / 0.5356 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.3744, allocations: 13.95 kB / 0.5356 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007455/0.3752, allocations: 256 kB / 0.5358 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.3754, allocations: 119.2 kB / 0.5359 GB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005396/0.3759, allocations: 1.004 MB / 0.5369 GB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.3762, allocations: 24.91 kB / 0.537 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.3763, allocations: 62.02 kB / 0.537 GB, free: 1.609 MB / 410.7 MB 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.0001518/0.3764, allocations: 206.6 kB / 0.5372 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.3765, allocations: 80.61 kB / 0.5373 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008167/0.3773, allocations: 0.6825 MB / 0.538 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3773, allocations: 5.656 kB / 0.538 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3773, allocations: 3.312 kB / 0.538 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3773, allocations: 0 / 0.538 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3784, allocations: 0.942 MB / 0.5389 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3784, allocations: 0 / 0.5389 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.3789, allocations: 201.5 kB / 0.5391 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.502e-05/0.379, allocations: 23.58 kB / 0.5391 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.379, allocations: 17.53 kB / 0.5391 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.3808, allocations: 3.56 MB / 0.5426 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3808, allocations: 3.062 kB / 0.5426 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006961/0.3815, allocations: 0.5994 MB / 0.5432 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.3816, allocations: 95.83 kB / 0.5433 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.3817, allocations: 9.688 kB / 0.5433 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3819, allocations: 18.42 kB / 0.5433 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.3819, allocations: 44 kB / 0.5433 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.382, allocations: 34.25 kB / 0.5434 GB, free: 12.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002821/0.3823, allocations: 338.1 kB / 0.5437 GB, free: 12.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3823, allocations: 3.938 kB / 0.5437 GB, free: 12.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008354/0.3831, allocations: 248.2 kB / 0.5439 GB, free: 12.23 MB / 426.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.0005557/0.3837, allocations: 261.4 kB / 0.5442 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006641/0.3843, allocations: 388.7 kB / 0.5446 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.3843, allocations: 0 / 0.5446 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.3849, allocations: 387.1 kB / 0.5449 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/0.3857, allocations: 321.7 kB / 0.5452 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.3877, allocations: 1.16 MB / 0.5464 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.3878, allocations: 166.6 kB / 0.5465 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006403/0.3885, allocations: 418 kB / 0.5469 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.3886, allocations: 102.2 kB / 0.547 GB, free: 10.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/0.3886, allocations: 0 / 0.547 GB, free: 10.8 MB / 426.7 MB Notification: Performance of Templates: time 0.0193/0.4079, allocations: 14.89 MB / 0.5616 GB, free: 13.97 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.091404302045703]