Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001415/0.001415, allocations: 106.4 kB / 17.03 MB, free: 5.703 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.001295/0.001295, allocations: 194.9 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2202/0.2202, allocations: 43.53 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 74 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1432, allocations: 57.79 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5953/0.7386, allocations: 179.6 MB / 0.607 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009103/0.7478, allocations: 5.755 MB / 0.6127 GB, free: 5.504 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009647/0.7488, allocations: 17.94 kB / 0.6127 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.7499, allocations: 311.4 kB / 0.613 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005298/0.7552, allocations: 1.572 MB / 0.6145 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.7593, allocations: 1.241 MB / 0.6157 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002948/0.7622, allocations: 1.843 MB / 0.6175 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000802/0.763, allocations: 465.8 kB / 0.618 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003628/0.7667, allocations: 1.242 MB / 0.6192 GB, free: 1.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.7683, allocations: 0.7366 MB / 0.6199 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.7684, allocations: 66.53 kB / 0.62 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.7708, allocations: 0.832 MB / 0.6208 GB, free: 264 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003999/0.7712, allocations: 264 kB / 0.621 GB, free: 80 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005721/0.7718, allocations: 396.6 kB / 0.6214 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.7743, allocations: 1.422 MB / 0.6228 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7744, allocations: 0 / 0.6228 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7744, allocations: 0 / 0.6228 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.7744, allocations: 0 / 0.6228 GB, free: 14.93 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.002491/0.7769, allocations: 1.129 MB / 0.6239 GB, free: 13.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.7769, allocations: 15.83 kB / 0.6239 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008479/0.7778, allocations: 139.1 kB / 0.624 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.7789, allocations: 0.5352 MB / 0.6246 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.7791, allocations: 96.41 kB / 0.6247 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.7792, allocations: 51.98 kB / 0.6247 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.7806, allocations: 0.8136 MB / 0.6255 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.7807, allocations: 7.938 kB / 0.6255 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.79e-05/0.7807, allocations: 24 kB / 0.6255 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.434e-05/0.7808, allocations: 36.98 kB / 0.6256 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.7819, allocations: 0.6127 MB / 0.6262 GB, free: 11.47 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.004994/0.7869, allocations: 3.98 MB / 0.6301 GB, free: 7.238 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.7875, allocations: 356.8 kB / 0.6304 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.7878, allocations: 173.3 kB / 0.6306 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004992/0.7883, allocations: 361.4 kB / 0.6309 GB, free: 6.305 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.7884, allocations: 38.84 kB / 0.6309 GB, free: 6.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.274e-06/0.7884, allocations: 0 / 0.6309 GB, free: 6.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005569/0.7939, allocations: 1.67 MB / 0.6326 GB, free: 4.516 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.7941, allocations: 132.5 kB / 0.6327 GB, free: 4.355 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008455/0.7949, allocations: 0.6171 MB / 0.6333 GB, free: 3.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.795, allocations: 33.7 kB / 0.6333 GB, free: 3.691 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.7953, allocations: 370.9 kB / 0.6337 GB, free: 3.324 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.7955, allocations: 142 kB / 0.6338 GB, free: 3.184 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.7957, allocations: 154.5 kB / 0.634 GB, free: 3.027 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.7959, allocations: 374.8 kB / 0.6343 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.7963, allocations: 205.9 kB / 0.6345 GB, free: 2.449 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/0.7969, allocations: 0.5046 MB / 0.635 GB, free: 1.797 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009335/0.7979, allocations: 0.7526 MB / 0.6358 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.7979, allocations: 4 kB / 0.6358 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001558/0.7995, allocations: 0.8834 MB / 0.6366 GB, free: 8 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.7995, allocations: 12.05 kB / 0.6366 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.7995, allocations: 8 kB / 0.6366 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.8011, allocations: 324.3 kB / 0.6369 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.8015, allocations: 124.8 kB / 0.6371 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.8028, allocations: 0.9307 MB / 0.638 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.8034, allocations: 27.98 kB / 0.638 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.8035, allocations: 68 kB / 0.6381 GB, free: 14.5 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 (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.0005015/0.804, allocations: 250.4 kB / 0.6383 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.8042, allocations: 71.19 kB / 0.6384 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.8056, allocations: 0.6749 MB / 0.639 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.8056, allocations: 4 kB / 0.639 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.8056, allocations: 0 / 0.639 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.8057, allocations: 7.984 kB / 0.639 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.8083, allocations: 1.607 MB / 0.6406 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.8083, allocations: 3.938 kB / 0.6406 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.8094, allocations: 211.9 kB / 0.6408 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.8095, allocations: 20.84 kB / 0.6408 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.8095, allocations: 23.98 kB / 0.6409 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.8119, allocations: 2.881 MB / 0.6437 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.8119, allocations: 4.031 kB / 0.6437 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.8134, allocations: 0.8045 MB / 0.6445 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004832/0.8139, allocations: 188.2 kB / 0.6446 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.814, allocations: 12 kB / 0.6447 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.8146, allocations: 24.05 kB / 0.6447 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.8147, allocations: 35.95 kB / 0.6447 GB, free: 7.188 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/0.8148, allocations: 39.98 kB / 0.6448 GB, free: 7.148 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007643/0.8156, allocations: 447 kB / 0.6452 GB, free: 6.715 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8156, allocations: 0 / 0.6452 GB, free: 6.715 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001303/0.8169, allocations: 288 kB / 0.6455 GB, free: 6.434 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (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.001182/0.8181, allocations: 379.1 kB / 0.6458 GB, free: 6.059 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.8195, allocations: 0.5469 MB / 0.6463 GB, free: 5.512 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/0.8195, allocations: 3.859 kB / 0.6464 GB, free: 5.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.8205, allocations: 415.6 kB / 0.6467 GB, free: 5.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.8223, allocations: 376.3 kB / 0.6471 GB, free: 4.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.825, allocations: 1.306 MB / 0.6484 GB, free: 3.387 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.8256, allocations: 0.93 MB / 0.6493 GB, free: 2.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009488/0.8266, allocations: 254 kB / 0.6495 GB, free: 2.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.8269, allocations: 107.4 kB / 0.6496 GB, free: 2.074 MB / 462.1 MB Notification: Performance of SimCode: time 5.92e-07/0.8269, allocations: 0 / 0.6496 GB, free: 2.074 MB / 462.1 MB Notification: Performance of Templates: time 0.03527/0.8621, allocations: 18.32 MB / 0.6675 GB, free: 15.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches