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.0007887/0.0007887, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.000898/0.000898, allocations: 169.4 kB / 24.82 MB, free: 9.262 MB / 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 1.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2851/0.2851, allocations: 32.81 MB / 294.6 MB, free: 1.168 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.693e-06/1.693e-06, allocations: 0 / 376.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.426e-05, allocations: 5.406 kB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3555/0.3555, allocations: 146 MB / 0.5102 GB, free: 18.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00418/0.3596, allocations: 2.571 MB / 0.5127 GB, free: 17.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004288/0.3601, allocations: 26.94 kB / 0.5128 GB, free: 17.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005448/0.3606, allocations: 217.8 kB / 0.513 GB, free: 17.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.363, allocations: 1.091 MB / 0.514 GB, free: 16.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.3646, allocations: 0.8345 MB / 0.5149 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.3664, allocations: 1.909 MB / 0.5167 GB, free: 15.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005253/0.3669, allocations: 423.4 kB / 0.5171 GB, free: 14.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.3683, allocations: 1.134 MB / 0.5182 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006705/0.3689, allocations: 0.5937 MB / 0.5188 GB, free: 14.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.369, allocations: 58.03 kB / 0.5189 GB, free: 14.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007028/0.3697, allocations: 450.1 kB / 0.5193 GB, free: 14.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.37, allocations: 291.8 kB / 0.5196 GB, free: 14.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.3702, allocations: 290.6 kB / 0.5199 GB, free: 13.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.3712, allocations: 0.9883 MB / 0.5208 GB, free: 13.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3712, allocations: 0 / 0.5208 GB, free: 13.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3712, allocations: 0 / 0.5208 GB, free: 13.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.3712, allocations: 0 / 0.5208 GB, free: 13.55 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.00138/0.3726, allocations: 1.126 MB / 0.5219 GB, free: 12.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3727, allocations: 13.62 kB / 0.5219 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000534/0.3732, allocations: 215.7 kB / 0.5221 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.3737, allocations: 479.7 kB / 0.5226 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.913e-05/0.3738, allocations: 164.8 kB / 0.5227 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/0.3739, allocations: 56.06 kB / 0.5228 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/0.3745, allocations: 0.9402 MB / 0.5237 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3745, allocations: 0 / 0.5237 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.3746, allocations: 27.89 kB / 0.5237 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.3746, allocations: 40.72 kB / 0.5238 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.3749, allocations: 259.6 kB / 0.524 GB, free: 11.33 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.002246/0.3772, allocations: 3.754 MB / 0.5277 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.3774, allocations: 199.6 kB / 0.5279 GB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.3775, allocations: 76.16 kB / 0.528 GB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.524e-05/0.3776, allocations: 23.2 kB / 0.528 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3776, allocations: 47.73 kB / 0.528 GB, free: 7.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.142e-06/0.3776, allocations: 0 / 0.528 GB, free: 7.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002264/0.3799, allocations: 0.9947 MB / 0.529 GB, free: 7.434 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3799, allocations: 140.2 kB / 0.5291 GB, free: 7.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.3803, allocations: 0.5501 MB / 0.5297 GB, free: 6.961 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.3803, allocations: 36.36 kB / 0.5297 GB, free: 6.922 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.3805, allocations: 441.1 kB / 0.5301 GB, free: 6.551 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.3806, allocations: 148.2 kB / 0.5303 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.3808, allocations: 167.5 kB / 0.5304 GB, free: 6.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3809, allocations: 0.5541 MB / 0.531 GB, free: 5.816 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.381, allocations: 73.61 kB / 0.531 GB, free: 5.812 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.3814, allocations: 0.6273 MB / 0.5317 GB, free: 5.074 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.3819, allocations: 0.6686 MB / 0.5323 GB, free: 4.379 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3819, allocations: 6.75 kB / 0.5323 GB, free: 4.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007241/0.3826, allocations: 0.6334 MB / 0.5329 GB, free: 4.133 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3826, allocations: 8.906 kB / 0.5329 GB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.3826, allocations: 11.47 kB / 0.5329 GB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.3832, allocations: 240.5 kB / 0.5332 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.3834, allocations: 129.4 kB / 0.5333 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004635/0.3839, allocations: 0.9816 MB / 0.5343 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.3841, allocations: 31.08 kB / 0.5343 GB, free: 3.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.3842, allocations: 57.17 kB / 0.5343 GB, free: 3.219 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.000131/0.3843, allocations: 212.6 kB / 0.5345 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.3844, allocations: 77.92 kB / 0.5346 GB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007195/0.3851, allocations: 0.6692 MB / 0.5353 GB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3851, allocations: 5.469 kB / 0.5353 GB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3851, allocations: 7.922 kB / 0.5353 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3851, allocations: 2.203 kB / 0.5353 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008281/0.386, allocations: 0.8255 MB / 0.5361 GB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.386, allocations: 2.906 kB / 0.5361 GB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.3864, allocations: 174 kB / 0.5363 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.946e-05/0.3865, allocations: 18.92 kB / 0.5363 GB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.3865, allocations: 23.28 kB / 0.5363 GB, free: 2.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.3877, allocations: 3.512 MB / 0.5397 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3877, allocations: 2.562 kB / 0.5397 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/0.3883, allocations: 0.5678 MB / 0.5403 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.3884, allocations: 98.48 kB / 0.5404 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.3885, allocations: 6.875 kB / 0.5404 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.3886, allocations: 19.2 kB / 0.5404 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.3887, allocations: 42.55 kB / 0.5405 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.3888, allocations: 33.7 kB / 0.5405 GB, free: 14.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002349/0.389, allocations: 325.3 kB / 0.5408 GB, free: 14 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.389, allocations: 4.031 kB / 0.5408 GB, free: 14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005996/0.3896, allocations: 247 kB / 0.541 GB, free: 13.96 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.0004456/0.39, allocations: 270.4 kB / 0.5413 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005218/0.3906, allocations: 359 kB / 0.5416 GB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3906, allocations: 2.906 kB / 0.5416 GB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.391, allocations: 362.8 kB / 0.542 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008126/0.3918, allocations: 321 kB / 0.5423 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.3936, allocations: 1.168 MB / 0.5434 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.3938, allocations: 166.8 kB / 0.5436 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000562/0.3943, allocations: 364.7 kB / 0.5439 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.3949, allocations: 382.2 kB / 0.5443 GB, free: 12.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3949, allocations: 0 / 0.5443 GB, free: 12.48 MB / 426.7 MB Notification: Performance of Templates: time 0.02057/0.4155, allocations: 16.57 MB / 0.5605 GB, free: 14.66 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: 3.905295708682388]