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.0009134/0.0009134, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0009254/0.0009254, allocations: 168.3 kB / 25.61 MB, free: 8.586 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 0.9505/0.9505, allocations: 177.2 MB / 206.1 MB, free: 4.477 MB / 186.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.1966/0.1966, allocations: 34.25 MB / 296.8 MB, free: 13.93 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.313e-06/1.313e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142e-05/1.274e-05, allocations: 2.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2975/0.2975, allocations: 146 MB / 0.513 GB, free: 16.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.3005, allocations: 2.592 MB / 0.5155 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003304/0.3008, allocations: 30.25 kB / 0.5155 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.3014, allocations: 217.2 kB / 0.5157 GB, free: 16.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.3033, allocations: 1.176 MB / 0.5169 GB, free: 16.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.3045, allocations: 0.8398 MB / 0.5177 GB, free: 16.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.306, allocations: 1.925 MB / 0.5196 GB, free: 16.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.3064, allocations: 420 kB / 0.52 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.3078, allocations: 1.245 MB / 0.5212 GB, free: 15.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006015/0.3085, allocations: 0.602 MB / 0.5218 GB, free: 15.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.198e-05/0.3085, allocations: 62.88 kB / 0.5219 GB, free: 15.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006486/0.3092, allocations: 443.6 kB / 0.5223 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.3094, allocations: 288.2 kB / 0.5226 GB, free: 15.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.3096, allocations: 282.2 kB / 0.5228 GB, free: 15.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000973/0.3106, allocations: 0.9942 MB / 0.5238 GB, free: 15.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3106, allocations: 0 / 0.5238 GB, free: 15.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3106, allocations: 0 / 0.5238 GB, free: 15.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.3106, allocations: 0 / 0.5238 GB, free: 15.74 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.001382/0.312, allocations: 1.124 MB / 0.5249 GB, free: 15.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.312, allocations: 11.25 kB / 0.5249 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006841/0.3127, allocations: 215.4 kB / 0.5251 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.3133, allocations: 482 kB / 0.5256 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.63e-05/0.3134, allocations: 154.8 kB / 0.5257 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/0.3134, allocations: 64.62 kB / 0.5258 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/0.3141, allocations: 0.9351 MB / 0.5267 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3141, allocations: 2.25 kB / 0.5267 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/0.3142, allocations: 21.09 kB / 0.5267 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/0.3142, allocations: 45.09 kB / 0.5268 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.3146, allocations: 256 kB / 0.527 GB, free: 13.94 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.002209/0.3168, allocations: 3.779 MB / 0.5307 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.3171, allocations: 205.5 kB / 0.5309 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3172, allocations: 72.62 kB / 0.531 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.503e-05/0.3173, allocations: 14.31 kB / 0.531 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3173, allocations: 43.77 kB / 0.531 GB, free: 10.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.512e-06/0.3173, allocations: 0 / 0.531 GB, free: 10.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002777/0.3201, allocations: 0.9921 MB / 0.532 GB, free: 10.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.3201, allocations: 137.8 kB / 0.5321 GB, free: 10.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.3204, allocations: 0.5422 MB / 0.5326 GB, free: 10.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.3205, allocations: 35.45 kB / 0.5327 GB, free: 10.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.3206, allocations: 442.9 kB / 0.5331 GB, free: 9.898 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/0.3207, allocations: 155.3 kB / 0.5332 GB, free: 9.805 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.3209, allocations: 165 kB / 0.5334 GB, free: 9.773 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.321, allocations: 0.5518 MB / 0.5339 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.3211, allocations: 82.31 kB / 0.534 GB, free: 9.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.3214, allocations: 0.6317 MB / 0.5346 GB, free: 8.559 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.3219, allocations: 0.6649 MB / 0.5353 GB, free: 7.973 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3219, allocations: 13.62 kB / 0.5353 GB, free: 7.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008045/0.3227, allocations: 0.6242 MB / 0.5359 GB, free: 7.867 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3227, allocations: 8.406 kB / 0.5359 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3227, allocations: 13.72 kB / 0.5359 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007471/0.3234, allocations: 238.3 kB / 0.5362 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.3237, allocations: 125.7 kB / 0.5363 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005022/0.3242, allocations: 0.9869 MB / 0.5372 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.3245, allocations: 27.44 kB / 0.5373 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.3246, allocations: 55.44 kB / 0.5373 GB, free: 7.043 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.0001529/0.3248, allocations: 212.8 kB / 0.5375 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3249, allocations: 77.45 kB / 0.5376 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008663/0.3257, allocations: 0.6552 MB / 0.5382 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3257, allocations: 6.344 kB / 0.5382 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.3257, allocations: 0 / 0.5382 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3257, allocations: 4.812 kB / 0.5382 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000956/0.3267, allocations: 0.8277 MB / 0.5391 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3267, allocations: 2.719 kB / 0.5391 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.3273, allocations: 171.5 kB / 0.5392 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.221e-05/0.3274, allocations: 26.38 kB / 0.5392 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.3274, allocations: 24.92 kB / 0.5393 GB, free: 6.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008969/0.3283, allocations: 3.518 MB / 0.5427 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3283, allocations: 3.438 kB / 0.5427 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.3289, allocations: 0.5631 MB / 0.5433 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.329, allocations: 99.8 kB / 0.5434 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/0.3291, allocations: 14.5 kB / 0.5434 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.3293, allocations: 15.83 kB / 0.5434 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.3294, allocations: 41.08 kB / 0.5434 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.3294, allocations: 36.83 kB / 0.5435 GB, free: 2.461 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001943/0.3296, allocations: 323.7 kB / 0.5438 GB, free: 2.332 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3296, allocations: 0 / 0.5438 GB, free: 2.332 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006941/0.3303, allocations: 255.8 kB / 0.544 GB, free: 2.312 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.0004484/0.3308, allocations: 258.7 kB / 0.5443 GB, free: 2.203 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005471/0.3313, allocations: 365.2 kB / 0.5446 GB, free: 2.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3313, allocations: 2.812 kB / 0.5446 GB, free: 2.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.3318, allocations: 355.1 kB / 0.5449 GB, free: 1.992 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000989/0.3328, allocations: 323.1 kB / 0.5453 GB, free: 1.949 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.3344, allocations: 1.155 MB / 0.5464 GB, free: 1.316 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.3345, allocations: 167.1 kB / 0.5465 GB, free: 1.242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005695/0.335, allocations: 364.2 kB / 0.5469 GB, free: 1.109 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006164/0.3357, allocations: 376.6 kB / 0.5473 GB, free: 0.957 MB / 410.7 MB Notification: Performance of SimCode: time 3.447e-06/0.3357, allocations: 0 / 0.5473 GB, free: 0.957 MB / 410.7 MB Notification: Performance of Templates: time 0.02037/0.356, allocations: 16.8 MB / 0.5637 GB, free: 5.707 MB / 426.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 -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.9104606132023036]