Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.0007888/0.0007888, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001843, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007174/0.0007174, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008914/0.001609, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9448/0.9448, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09579/1.041, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2452/0.2452, allocations: 34.26 MB / 278.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03215/0.2773, allocations: 13.1 MB / 291.3 MB, free: 7.355 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.463e-05, allocations: 3.016 kB / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1484/0.1484, allocations: 148.6 MB / 441.2 MB, free: 1.125 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1804/0.3289, allocations: 2.662 MB / 443.9 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005183/0.3294, allocations: 29.88 kB / 443.9 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.3298, allocations: 219.5 kB / 444.1 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.3317, allocations: 1.151 MB / 445.3 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.3331, allocations: 0.8089 MB / 446.1 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.3349, allocations: 1.939 MB / 448 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.3354, allocations: 422.5 kB / 448.4 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.337, allocations: 1.283 MB / 449.7 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/0.3378, allocations: 0.5591 MB / 450.3 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.3379, allocations: 59.31 kB / 450.3 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007282/0.3386, allocations: 487.5 kB / 450.8 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.3388, allocations: 236 kB / 451 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.339, allocations: 233.3 kB / 451.3 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008533/0.3399, allocations: 0.8696 MB / 452.1 MB, free: 3.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.3399, allocations: 3.406 kB / 452.1 MB, free: 3.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3399, allocations: 4.906 kB / 452.1 MB, free: 3.406 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.3399, allocations: 0 / 452.1 MB, free: 3.406 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.00138/0.3413, allocations: 1.236 MB / 453.4 MB, free: 18.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3413, allocations: 12.97 kB / 453.4 MB, free: 18.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004716/0.3418, allocations: 208.4 kB / 453.6 MB, free: 18.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.3422, allocations: 422.7 kB / 454 MB, free: 18.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.739e-05/0.3423, allocations: 151.2 kB / 454.1 MB, free: 18.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.3424, allocations: 60.95 kB / 454.2 MB, free: 18.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.3429, allocations: 0.8877 MB / 455.1 MB, free: 17.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3429, allocations: 3 kB / 455.1 MB, free: 17.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.343, allocations: 20.72 kB / 455.1 MB, free: 17.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.343, allocations: 45.67 kB / 455.2 MB, free: 17.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.3433, allocations: 231.2 kB / 455.4 MB, free: 17.79 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.001789/0.3451, allocations: 2.651 MB / 458 MB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.3452, allocations: 164.9 kB / 458.2 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.086e-05/0.3453, allocations: 69.64 kB / 458.3 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.3454, allocations: 39.08 kB / 458.3 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.3454, allocations: 41.84 kB / 458.3 MB, free: 15.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.3454, allocations: 0 / 458.3 MB, free: 15.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.001869/0.3473, allocations: 0.9075 MB / 459.3 MB, free: 15.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.3473, allocations: 57.31 kB / 459.3 MB, free: 15.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.3476, allocations: 483.5 kB / 459.8 MB, free: 15.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.3476, allocations: 32.45 kB / 459.8 MB, free: 15.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3477, allocations: 343.4 kB / 460.2 MB, free: 15.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.3478, allocations: 148.7 kB / 460.3 MB, free: 14.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3479, allocations: 148 kB / 460.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.348, allocations: 382.6 kB / 460.8 MB, free: 14.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.348, allocations: 64.7 kB / 460.9 MB, free: 14.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.3482, allocations: 493.2 kB / 461.4 MB, free: 14.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.3485, allocations: 0.5319 MB / 461.9 MB, free: 13.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3485, allocations: 3.562 kB / 461.9 MB, free: 13.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0004618/0.349, allocations: 495 kB / 462.4 MB, free: 13.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.349, allocations: 9.75 kB / 462.4 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.349, allocations: 11.56 kB / 462.4 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004808/0.3495, allocations: 220 kB / 462.6 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.3497, allocations: 146.8 kB / 462.8 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003959/0.3501, allocations: 0.6758 MB / 463.4 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.3503, allocations: 24.97 kB / 463.5 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.3504, allocations: 50.16 kB / 463.5 MB, free: 13.1 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.000133/0.3505, allocations: 167.7 kB / 463.7 MB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.3506, allocations: 47.06 kB / 463.7 MB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005654/0.3511, allocations: 0.5683 MB / 464.3 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3511, allocations: 6.438 kB / 464.3 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3511, allocations: 2.578 kB / 464.3 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3511, allocations: 0.9375 kB / 464.3 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.3519, allocations: 0.7262 MB / 465 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3519, allocations: 0 / 465 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.3523, allocations: 202.4 kB / 465.2 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.3524, allocations: 67.7 kB / 465.3 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-05/0.3525, allocations: 23.45 kB / 465.3 MB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.3525, allocations: 16.84 kB / 465.3 MB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000943/0.3535, allocations: 2.4 MB / 467.7 MB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3535, allocations: 7.219 kB / 467.7 MB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.3538, allocations: 463.7 kB / 468.2 MB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.3539, allocations: 9.594 kB / 468.2 MB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.354, allocations: 16.41 kB / 468.2 MB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.3541, allocations: 36.64 kB / 468.2 MB, free: 9.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.3541, allocations: 30.34 kB / 468.3 MB, free: 9.918 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.3542, allocations: 200.4 kB / 468.5 MB, free: 9.898 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3542, allocations: 0.875 kB / 468.5 MB, free: 9.898 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004399/0.3547, allocations: 247.9 kB / 468.7 MB, free: 9.883 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.0003446/0.355, allocations: 237.4 kB / 468.9 MB, free: 9.797 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003804/0.3554, allocations: 331.4 kB / 469.3 MB, free: 9.773 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.905e-05/0.3554, allocations: 15.66 kB / 469.3 MB, free: 9.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.3558, allocations: 295.6 kB / 469.6 MB, free: 9.641 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.3564, allocations: 393.3 kB / 470 MB, free: 9.605 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007114/0.3635, allocations: 1.152 MB / 471.1 MB, free: 9.035 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.272e-05/0.3636, allocations: 168.7 kB / 471.3 MB, free: 8.961 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004589/0.3641, allocations: 350.2 kB / 471.6 MB, free: 8.934 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/0.3646, allocations: 319.9 kB / 471.9 MB, free: 8.871 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3646, allocations: 0 / 471.9 MB, free: 8.871 MB / 442.7 MB Notification: Performance of Templates: time 0.01641/0.381, allocations: 16.55 MB / 488.5 MB, free: 6.359 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.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.5346762128174305]