Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001406/0.001406, allocations: 111.9 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001466, allocations: 213.8 kB / 18.27 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.5 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2396/0.2396, allocations: 46.12 MB / 343.8 MB, free: 11.71 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 75.86 kB / 417.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1421, allocations: 62.45 MB / 479.6 MB, free: 8.879 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4616/0.6038, allocations: 175.5 MB / 0.6397 GB, free: 1.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008734/0.6126, allocations: 5.408 MB / 0.645 GB, free: 13.31 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.6141, allocations: 28.66 kB / 0.645 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.6156, allocations: 279 kB / 0.6453 GB, free: 13.14 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005977/0.6216, allocations: 1.239 MB / 0.6465 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003883/0.6255, allocations: 0.9801 MB / 0.6474 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.6287, allocations: 1.871 MB / 0.6493 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009956/0.6297, allocations: 453.9 kB / 0.6497 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.6327, allocations: 1.079 MB / 0.6507 GB, free: 10.51 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.6344, allocations: 0.792 MB / 0.6515 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.6347, allocations: 60.44 kB / 0.6516 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.6366, allocations: 0.5867 MB / 0.6521 GB, free: 9.992 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000549/0.6372, allocations: 271.8 kB / 0.6524 GB, free: 9.809 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008105/0.638, allocations: 410 kB / 0.6528 GB, free: 9.559 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002327/0.6403, allocations: 1.291 MB / 0.6541 GB, free: 8.738 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6404, allocations: 2.562 kB / 0.6541 GB, free: 8.738 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.6404, allocations: 0 / 0.6541 GB, free: 8.738 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.674e-05/0.6404, allocations: 0 / 0.6541 GB, free: 8.738 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.002835/0.6433, allocations: 1.105 MB / 0.6551 GB, free: 7.887 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.6433, allocations: 10.06 kB / 0.6551 GB, free: 7.887 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009142/0.6442, allocations: 135.8 kB / 0.6553 GB, free: 7.824 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009125/0.6452, allocations: 0.5083 MB / 0.6558 GB, free: 7.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.6453, allocations: 99.44 kB / 0.6559 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.6454, allocations: 54.56 kB / 0.6559 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.6468, allocations: 0.8168 MB / 0.6567 GB, free: 6.711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.6469, allocations: 10.62 kB / 0.6567 GB, free: 6.703 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.647, allocations: 23.34 kB / 0.6568 GB, free: 6.688 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.706e-05/0.647, allocations: 36.92 kB / 0.6568 GB, free: 6.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.6481, allocations: 0.628 MB / 0.6574 GB, free: 6.367 MB / 478.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.005098/0.6532, allocations: 3.935 MB / 0.6612 GB, free: 2.844 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/0.6538, allocations: 354 kB / 0.6616 GB, free: 2.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.6541, allocations: 174.8 kB / 0.6617 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.6542, allocations: 95.45 kB / 0.6618 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.6543, allocations: 43.08 kB / 0.6619 GB, free: 2.422 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.873e-06/0.6543, allocations: 0 / 0.6619 GB, free: 2.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005923/0.6602, allocations: 1.665 MB / 0.6635 GB, free: 1.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.6604, allocations: 134.9 kB / 0.6636 GB, free: 1.238 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000831/0.6612, allocations: 0.6157 MB / 0.6642 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/0.6613, allocations: 36.08 kB / 0.6643 GB, free: 0.832 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.6616, allocations: 367.4 kB / 0.6646 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.6618, allocations: 139.1 kB / 0.6648 GB, free: 396 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.662, allocations: 154.6 kB / 0.6649 GB, free: 312 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.6622, allocations: 381.8 kB / 0.6653 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.6626, allocations: 206.1 kB / 0.6655 GB, free: 15.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006755/0.6633, allocations: 0.5191 MB / 0.666 GB, free: 15.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.6644, allocations: 0.7436 MB / 0.6667 GB, free: 14.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.6644, allocations: 7.938 kB / 0.6667 GB, free: 14.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001602/0.666, allocations: 0.8839 MB / 0.6676 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.6661, allocations: 8.625 kB / 0.6676 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.6661, allocations: 12 kB / 0.6676 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.6676, allocations: 321.4 kB / 0.6679 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.668, allocations: 127.8 kB / 0.668 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.6692, allocations: 0.9308 MB / 0.6689 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/0.6698, allocations: 52.62 kB / 0.669 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/0.6699, allocations: 67.98 kB / 0.669 GB, free: 11.93 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.000391/0.6703, allocations: 249.4 kB / 0.6693 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.6705, allocations: 63.25 kB / 0.6693 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.6723, allocations: 0.861 MB / 0.6702 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.6723, allocations: 4 kB / 0.6702 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.6724, allocations: 0 / 0.6702 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.6724, allocations: 8.859 kB / 0.6702 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.6746, allocations: 1.457 MB / 0.6716 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.6746, allocations: 4 kB / 0.6716 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.6757, allocations: 211.9 kB / 0.6718 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.6758, allocations: 24.84 kB / 0.6718 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/0.6759, allocations: 23.98 kB / 0.6719 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/0.6783, allocations: 2.881 MB / 0.6747 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6783, allocations: 4.031 kB / 0.6747 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.6797, allocations: 0.8214 MB / 0.6755 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.6801, allocations: 188.2 kB / 0.6757 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.6802, allocations: 11.98 kB / 0.6757 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.6807, allocations: 23.98 kB / 0.6757 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.6808, allocations: 48.58 kB / 0.6757 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.847e-05/0.6809, allocations: 43.98 kB / 0.6758 GB, free: 4.547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006109/0.6816, allocations: 439 kB / 0.6762 GB, free: 4.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6816, allocations: 3.938 kB / 0.6762 GB, free: 4.117 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001029/0.6826, allocations: 252 kB / 0.6764 GB, free: 3.871 MB / 494.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 (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.0009047/0.6835, allocations: 293 kB / 0.6767 GB, free: 3.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.6849, allocations: 0.6098 MB / 0.6773 GB, free: 2.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.6849, allocations: 4 kB / 0.6773 GB, free: 2.977 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.686, allocations: 414.3 kB / 0.6777 GB, free: 2.559 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.6878, allocations: 375 kB / 0.6781 GB, free: 2.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.6907, allocations: 1.548 MB / 0.6796 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/0.6915, allocations: 0.93 MB / 0.6805 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001374/0.6929, allocations: 460.1 kB / 0.6809 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.6933, allocations: 117.8 kB / 0.681 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of SimCode: time 6.02e-07/0.6933, allocations: 0 / 0.681 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.03585/0.7291, allocations: 17.4 MB / 0.698 GB, free: 14.04 MB / 0.5137 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches