Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009312, allocations: 94.92 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008832/0.0008833, allocations: 183.8 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 241.8 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.23/0.23, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004024, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1474, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4935/0.641, allocations: 141.8 MB / 0.5989 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009019/0.65, allocations: 5.511 MB / 0.6043 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.6513, allocations: 19.81 kB / 0.6043 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.6524, allocations: 278.6 kB / 0.6046 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004861/0.6573, allocations: 1.075 MB / 0.6056 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.6607, allocations: 0.8401 MB / 0.6065 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0024/0.6631, allocations: 1.043 MB / 0.6075 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007356/0.6639, allocations: 385.1 kB / 0.6079 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.6659, allocations: 0.7402 MB / 0.6086 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.6671, allocations: 0.5606 MB / 0.6091 GB, free: 9.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.729e-05/0.6672, allocations: 32 kB / 0.6092 GB, free: 9.617 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.6688, allocations: 0.4916 MB / 0.6096 GB, free: 9.125 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.6691, allocations: 211.4 kB / 0.6098 GB, free: 8.918 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.6693, allocations: 161.4 kB / 0.61 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.6705, allocations: 0.9184 MB / 0.6109 GB, free: 7.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.6705, allocations: 4 kB / 0.6109 GB, free: 7.836 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.6705, allocations: 0 / 0.6109 GB, free: 7.836 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.6705, allocations: 0 / 0.6109 GB, free: 7.836 MB / 446.1 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.00216/0.6727, allocations: 0.9549 MB / 0.6118 GB, free: 6.828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.6728, allocations: 16.5 kB / 0.6118 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008059/0.6736, allocations: 127.1 kB / 0.612 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009794/0.6746, allocations: 493.5 kB / 0.6124 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.6747, allocations: 100.4 kB / 0.6125 GB, free: 6.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.6748, allocations: 51.94 kB / 0.6126 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.6761, allocations: 0.8135 MB / 0.6134 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.6762, allocations: 4 kB / 0.6134 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/0.6763, allocations: 24 kB / 0.6134 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-05/0.6763, allocations: 36.98 kB / 0.6134 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.6774, allocations: 0.6321 MB / 0.6141 GB, free: 4.422 MB / 446.1 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.004708/0.6821, allocations: 3.951 MB / 0.6179 GB, free: 220 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/0.6826, allocations: 347.6 kB / 0.6182 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.6828, allocations: 97.38 kB / 0.6183 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.6828, allocations: 50.72 kB / 0.6184 GB, free: 15.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.805e-06/0.6829, allocations: 0 / 0.6184 GB, free: 15.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005617/0.6885, allocations: 1.67 MB / 0.62 GB, free: 13.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.6886, allocations: 136.5 kB / 0.6201 GB, free: 13.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.6894, allocations: 0.6094 MB / 0.6207 GB, free: 13.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.6894, allocations: 37.7 kB / 0.6208 GB, free: 13.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.6897, allocations: 362.8 kB / 0.6211 GB, free: 12.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.6898, allocations: 142.1 kB / 0.6213 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.6899, allocations: 16 kB / 0.6213 GB, free: 12.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.6901, allocations: 370.8 kB / 0.6216 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.6904, allocations: 201.9 kB / 0.6218 GB, free: 12.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.691, allocations: 0.5086 MB / 0.6223 GB, free: 11.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.6915, allocations: 292.6 kB / 0.6226 GB, free: 11.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6915, allocations: 0 / 0.6226 GB, free: 11.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001391/0.6929, allocations: 0.8836 MB / 0.6235 GB, free: 10.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.6929, allocations: 8 kB / 0.6235 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.6929, allocations: 12 kB / 0.6235 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.6943, allocations: 315.3 kB / 0.6238 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.6947, allocations: 131.8 kB / 0.6239 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.6958, allocations: 0.9231 MB / 0.6248 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/0.6964, allocations: 51.91 kB / 0.6249 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.503e-05/0.6965, allocations: 68 kB / 0.6249 GB, free: 8.684 MB / 462.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004305/0.697, allocations: 241.5 kB / 0.6251 GB, free: 8.438 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.6971, allocations: 75.11 kB / 0.6252 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.6988, allocations: 0.8695 MB / 0.6261 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.6989, allocations: 4 kB / 0.6261 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.6989, allocations: 4 kB / 0.6261 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6989, allocations: 11.88 kB / 0.6261 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.701, allocations: 1.446 MB / 0.6275 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.701, allocations: 0 / 0.6275 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.7021, allocations: 207.8 kB / 0.6277 GB, free: 5.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.7022, allocations: 28.83 kB / 0.6277 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.7022, allocations: 16 kB / 0.6277 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.7043, allocations: 2.703 MB / 0.6304 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7043, allocations: 0 / 0.6304 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.7061, allocations: 0.878 MB / 0.6312 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/0.7066, allocations: 188.2 kB / 0.6314 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.7067, allocations: 8 kB / 0.6314 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/0.7072, allocations: 31.97 kB / 0.6315 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.7073, allocations: 36.03 kB / 0.6315 GB, free: 1.434 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.7074, allocations: 47.97 kB / 0.6315 GB, free: 1.387 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005664/0.708, allocations: 427 kB / 0.6319 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.708, allocations: 0 / 0.6319 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001065/0.709, allocations: 255.9 kB / 0.6322 GB, free: 0.7227 MB / 462.1 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009125/0.71, allocations: 293.7 kB / 0.6325 GB, free: 440 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.7112, allocations: 0.5505 MB / 0.633 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.7112, allocations: 4 kB / 0.633 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.7123, allocations: 414.3 kB / 0.6334 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.714, allocations: 337.6 kB / 0.6337 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.7164, allocations: 1.579 MB / 0.6353 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.7169, allocations: 0.9494 MB / 0.6362 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00133/0.7183, allocations: 454.4 kB / 0.6366 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.7186, allocations: 111.4 kB / 0.6367 GB, free: 11.99 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7186, allocations: 0 / 0.6367 GB, free: 11.99 MB / 478.1 MB Notification: Performance of Templates: time 0.02761/0.7462, allocations: 16.19 MB / 0.6525 GB, free: 11.96 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches