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.001094/0.001094, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 177.2 kB / 16.57 MB, free: 6.391 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.462/1.462, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3671/0.3671, allocations: 43.54 MB / 314.5 MB, free: 8.773 MB / 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.0005582/0.0005583, allocations: 19.98 kB / 383.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1372, allocations: 58.86 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4026/0.5399, allocations: 141.9 MB / 0.5709 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009572/0.5495, allocations: 7.229 MB / 0.578 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009044/0.5504, allocations: 23.81 kB / 0.578 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008927/0.5514, allocations: 270.6 kB / 0.5783 GB, free: 6.289 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.555, allocations: 1.267 MB / 0.5795 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.5577, allocations: 0.9926 MB / 0.5805 GB, free: 4.047 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.5593, allocations: 1.04 MB / 0.5815 GB, free: 3.008 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005483/0.5599, allocations: 393.8 kB / 0.5819 GB, free: 2.621 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.5613, allocations: 0.7363 MB / 0.5826 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009516/0.5623, allocations: 0.5684 MB / 0.5831 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.675e-05/0.5624, allocations: 28 kB / 0.5832 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.5643, allocations: 0.6165 MB / 0.5838 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.5646, allocations: 223.4 kB / 0.584 GB, free: 460 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.5648, allocations: 169.3 kB / 0.5841 GB, free: 284 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.5659, allocations: 0.9816 MB / 0.5851 GB, free: 15.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.566, allocations: 0 / 0.5851 GB, free: 15.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.566, allocations: 0 / 0.5851 GB, free: 15.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.566, allocations: 0 / 0.5851 GB, free: 15.3 MB / 462.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.001948/0.5679, allocations: 0.9908 MB / 0.5861 GB, free: 14.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.568, allocations: 16.02 kB / 0.5861 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007667/0.5688, allocations: 131.1 kB / 0.5862 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000789/0.5696, allocations: 0.4888 MB / 0.5867 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.5697, allocations: 100.4 kB / 0.5868 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.568e-05/0.5698, allocations: 51.98 kB / 0.5868 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.571, allocations: 0.8058 MB / 0.5876 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.571, allocations: 7.938 kB / 0.5876 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.5711, allocations: 28.58 kB / 0.5876 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.328e-05/0.5711, allocations: 40.97 kB / 0.5877 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009792/0.5721, allocations: 0.6166 MB / 0.5883 GB, free: 11.85 MB / 462.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.004305/0.5764, allocations: 3.965 MB / 0.5922 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.577, allocations: 347.6 kB / 0.5925 GB, free: 7.297 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-05/0.5771, allocations: 32.91 kB / 0.5925 GB, free: 7.266 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.5771, allocations: 38.84 kB / 0.5926 GB, free: 7.219 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.893e-06/0.5771, allocations: 0 / 0.5926 GB, free: 7.219 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005137/0.5823, allocations: 1.669 MB / 0.5942 GB, free: 5.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.5824, allocations: 136.5 kB / 0.5943 GB, free: 5.316 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007204/0.5831, allocations: 0.6094 MB / 0.5949 GB, free: 4.699 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.5831, allocations: 29.7 kB / 0.5949 GB, free: 4.664 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.5834, allocations: 363 kB / 0.5953 GB, free: 4.305 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.5835, allocations: 145.9 kB / 0.5954 GB, free: 4.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.5835, allocations: 16 kB / 0.5954 GB, free: 4.145 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.5837, allocations: 378.7 kB / 0.5958 GB, free: 3.766 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.584, allocations: 197.9 kB / 0.596 GB, free: 3.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.5846, allocations: 0.5047 MB / 0.5965 GB, free: 2.922 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.585, allocations: 295.7 kB / 0.5968 GB, free: 2.633 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.585, allocations: 4 kB / 0.5968 GB, free: 2.629 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001325/0.5864, allocations: 0.8724 MB / 0.5976 GB, free: 1.746 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.5864, allocations: 8 kB / 0.5976 GB, free: 1.738 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.5864, allocations: 13.17 kB / 0.5976 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.5878, allocations: 325.2 kB / 0.5979 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.5882, allocations: 130.8 kB / 0.5981 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.5893, allocations: 0.9295 MB / 0.599 GB, free: 336 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.5898, allocations: 48 kB / 0.599 GB, free: 288 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/0.5899, allocations: 63.98 kB / 0.5991 GB, free: 224 kB / 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.0003185/0.5902, allocations: 249.6 kB / 0.5993 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.756e-05/0.5903, allocations: 67 kB / 0.5994 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.5917, allocations: 0.6806 MB / 0.6001 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.5917, allocations: 4 kB / 0.6001 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5917, allocations: 3.953 kB / 0.6001 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5917, allocations: 3.984 kB / 0.6001 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.5935, allocations: 1.262 MB / 0.6013 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5935, allocations: 0 / 0.6013 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009939/0.5945, allocations: 211.9 kB / 0.6015 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-05/0.5946, allocations: 24.84 kB / 0.6015 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.5946, allocations: 23.98 kB / 0.6015 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.5965, allocations: 2.696 MB / 0.6042 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.5965, allocations: 4.031 kB / 0.6042 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.5976, allocations: 0.8496 MB / 0.605 GB, free: 9.719 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.5979, allocations: 184.3 kB / 0.6052 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/0.598, allocations: 12 kB / 0.6052 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.5984, allocations: 24.05 kB / 0.6052 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.5985, allocations: 39.89 kB / 0.6053 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.5985, allocations: 43.98 kB / 0.6053 GB, free: 9.402 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004705/0.599, allocations: 431 kB / 0.6057 GB, free: 8.984 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.599, allocations: 0 / 0.6057 GB, free: 8.984 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009012/0.5999, allocations: 288 kB / 0.606 GB, free: 8.703 MB / 478.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 (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.0008444/0.6008, allocations: 384.6 kB / 0.6064 GB, free: 8.324 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009937/0.6018, allocations: 0.5301 MB / 0.6069 GB, free: 7.797 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6018, allocations: 4 kB / 0.6069 GB, free: 7.793 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009143/0.6027, allocations: 423.7 kB / 0.6073 GB, free: 7.367 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.6042, allocations: 322.6 kB / 0.6076 GB, free: 7.062 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.6061, allocations: 1.534 MB / 0.6091 GB, free: 5.492 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.6067, allocations: 0.9494 MB / 0.61 GB, free: 4.516 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009099/0.6076, allocations: 267.4 kB / 0.6103 GB, free: 4.254 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.6079, allocations: 91.41 kB / 0.6104 GB, free: 4.164 MB / 478.1 MB Notification: Performance of SimCode: time 3.71e-07/0.6079, allocations: 0 / 0.6104 GB, free: 4.164 MB / 478.1 MB Notification: Performance of Templates: time 0.02767/0.6355, allocations: 17.09 MB / 0.627 GB, free: 3.117 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches