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.0011/0.001099, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001192/0.001192, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.362/1.362, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2092/0.2092, allocations: 44.17 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.69 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.146, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5029/0.649, allocations: 174.3 MB / 0.6299 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008258/0.6573, allocations: 5.332 MB / 0.6351 GB, free: 12.37 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.6584, allocations: 19.88 kB / 0.6351 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.6597, allocations: 318 kB / 0.6354 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.6638, allocations: 1.332 MB / 0.6367 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.6672, allocations: 1.061 MB / 0.6378 GB, free: 9.652 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00277/0.6699, allocations: 1.848 MB / 0.6396 GB, free: 7.801 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008562/0.6708, allocations: 465.7 kB / 0.64 GB, free: 7.344 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.6734, allocations: 1.067 MB / 0.6411 GB, free: 6.273 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.6747, allocations: 0.751 MB / 0.6418 GB, free: 5.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.6749, allocations: 60 kB / 0.6419 GB, free: 5.461 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.6764, allocations: 0.6242 MB / 0.6425 GB, free: 4.836 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.6767, allocations: 271.2 kB / 0.6427 GB, free: 4.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004893/0.6772, allocations: 394.2 kB / 0.6431 GB, free: 4.184 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.6792, allocations: 1.305 MB / 0.6444 GB, free: 2.875 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6792, allocations: 0 / 0.6444 GB, free: 2.875 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6792, allocations: 0 / 0.6444 GB, free: 2.875 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.6793, allocations: 0 / 0.6444 GB, free: 2.875 MB / 478.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.002342/0.6816, allocations: 1.091 MB / 0.6454 GB, free: 1.73 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.6817, allocations: 12.03 kB / 0.6455 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008602/0.6825, allocations: 131.1 kB / 0.6456 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.6836, allocations: 0.5352 MB / 0.6461 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.6837, allocations: 104.3 kB / 0.6462 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.6839, allocations: 51.98 kB / 0.6463 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.6851, allocations: 0.8175 MB / 0.647 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.6852, allocations: 0 / 0.647 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/0.6852, allocations: 24 kB / 0.6471 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.632e-05/0.6853, allocations: 36.88 kB / 0.6471 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.6863, allocations: 0.6204 MB / 0.6477 GB, free: 15.28 MB / 494.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.004639/0.691, allocations: 3.969 MB / 0.6516 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005744/0.6916, allocations: 351.6 kB / 0.6519 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.6918, allocations: 173.3 kB / 0.6521 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.692, allocations: 97.36 kB / 0.6522 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.692, allocations: 42.84 kB / 0.6522 GB, free: 10.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.692, allocations: 0 / 0.6522 GB, free: 10.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005679/0.6977, allocations: 1.654 MB / 0.6538 GB, free: 8.641 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.6978, allocations: 136.5 kB / 0.654 GB, free: 8.477 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/0.6986, allocations: 0.6171 MB / 0.6546 GB, free: 7.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.6987, allocations: 33.7 kB / 0.6546 GB, free: 7.812 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.6989, allocations: 370.9 kB / 0.655 GB, free: 7.445 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.6991, allocations: 138 kB / 0.6551 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.6993, allocations: 162.3 kB / 0.6552 GB, free: 7.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.6995, allocations: 378.8 kB / 0.6556 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.6998, allocations: 206.7 kB / 0.6558 GB, free: 6.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/0.7004, allocations: 0.5086 MB / 0.6563 GB, free: 5.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009388/0.7014, allocations: 0.7592 MB / 0.657 GB, free: 5.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.7014, allocations: 4 kB / 0.657 GB, free: 5.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001431/0.7028, allocations: 0.8878 MB / 0.6579 GB, free: 4.109 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.7028, allocations: 11.44 kB / 0.6579 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.7029, allocations: 8 kB / 0.6579 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.7043, allocations: 316.8 kB / 0.6582 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.7047, allocations: 123.8 kB / 0.6583 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.7058, allocations: 0.9371 MB / 0.6593 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.7063, allocations: 28 kB / 0.6593 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.561e-05/0.7064, allocations: 63.98 kB / 0.6594 GB, free: 2.609 MB / 494.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.0003821/0.7068, allocations: 249.8 kB / 0.6596 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.7069, allocations: 67.16 kB / 0.6597 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.7085, allocations: 0.8579 MB / 0.6605 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.7085, allocations: 4 kB / 0.6605 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.7085, allocations: 8 kB / 0.6605 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.7086, allocations: 3.984 kB / 0.6605 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.7107, allocations: 1.458 MB / 0.6619 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.7107, allocations: 8.188 kB / 0.6619 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.7117, allocations: 203.8 kB / 0.6621 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.092e-05/0.7118, allocations: 24.84 kB / 0.6622 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.7118, allocations: 19.98 kB / 0.6622 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.7138, allocations: 2.873 MB / 0.665 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7139, allocations: 4.188 kB / 0.665 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.7151, allocations: 0.8297 MB / 0.6658 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.7155, allocations: 180.3 kB / 0.666 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/0.7156, allocations: 12 kB / 0.666 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/0.716, allocations: 15.98 kB / 0.666 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.7161, allocations: 43.84 kB / 0.666 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.7162, allocations: 47.97 kB / 0.6661 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005292/0.7167, allocations: 443 kB / 0.6665 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7167, allocations: 4.062 kB / 0.6665 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009204/0.7176, allocations: 255.9 kB / 0.6668 GB, free: 10.54 MB / 0.4981 GB 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 (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.0007309/0.7184, allocations: 301.8 kB / 0.667 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.7195, allocations: 0.5613 MB / 0.6676 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7195, allocations: 4 kB / 0.6676 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009517/0.7205, allocations: 415.7 kB / 0.668 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.722, allocations: 365.8 kB / 0.6683 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.7241, allocations: 1.329 MB / 0.6696 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.7246, allocations: 0.93 MB / 0.6705 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009395/0.7255, allocations: 469.1 kB / 0.671 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.7258, allocations: 107.4 kB / 0.6711 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.7258, allocations: 4 kB / 0.6711 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of Templates: time 0.0278/0.7536, allocations: 17.39 MB / 0.6881 GB, free: 4.777 MB / 0.5137 GB 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches