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.000837/0.0008372, allocations: 102.6 kB / 16.02 MB, free: 76 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.001273/0.001274, allocations: 184.8 kB / 16.92 MB, free: 6.688 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.56/1.56, allocations: 205.4 MB / 223.1 MB, free: 5.801 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.3906/0.3906, allocations: 43.57 MB / 315 MB, free: 8.727 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.0005917/0.0005918, allocations: 16 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1342, allocations: 58.86 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4817/0.616, allocations: 175.7 MB / 0.6047 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009139/0.6252, allocations: 5.853 MB / 0.6104 GB, free: 5.605 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.6265, allocations: 23.81 kB / 0.6104 GB, free: 5.582 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.6276, allocations: 270.5 kB / 0.6107 GB, free: 5.316 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004944/0.6326, allocations: 1.411 MB / 0.612 GB, free: 3.914 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.6359, allocations: 1.102 MB / 0.6131 GB, free: 2.824 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003029/0.639, allocations: 2.715 MB / 0.6158 GB, free: 108 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005844/0.6396, allocations: 401.9 kB / 0.6162 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002544/0.6421, allocations: 1.097 MB / 0.6172 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.6435, allocations: 0.7705 MB / 0.618 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.68e-05/0.6436, allocations: 32 kB / 0.618 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.6456, allocations: 0.6981 MB / 0.6187 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.6459, allocations: 251.2 kB / 0.6189 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.6463, allocations: 388 kB / 0.6193 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.6481, allocations: 1.383 MB / 0.6207 GB, free: 11.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6481, allocations: 0 / 0.6207 GB, free: 11.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6481, allocations: 0 / 0.6207 GB, free: 11.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.6481, allocations: 0 / 0.6207 GB, free: 11.09 MB / 494.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.002165/0.6503, allocations: 0.9745 MB / 0.6216 GB, free: 10.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.6503, allocations: 8.031 kB / 0.6216 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000776/0.6511, allocations: 135.1 kB / 0.6217 GB, free: 9.922 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/0.6519, allocations: 0.5157 MB / 0.6222 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.652, allocations: 100.4 kB / 0.6223 GB, free: 9.254 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.6521, allocations: 51.98 kB / 0.6224 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.6534, allocations: 0.8175 MB / 0.6232 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.6534, allocations: 3.938 kB / 0.6232 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-05/0.6535, allocations: 27.88 kB / 0.6232 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.6536, allocations: 40.92 kB / 0.6233 GB, free: 8.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009793/0.6545, allocations: 0.6166 MB / 0.6239 GB, free: 7.629 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.004354/0.6589, allocations: 3.991 MB / 0.6278 GB, free: 3.391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/0.6595, allocations: 355.6 kB / 0.6281 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.6597, allocations: 165.3 kB / 0.6283 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/0.6602, allocations: 365.4 kB / 0.6286 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.6603, allocations: 46.78 kB / 0.6287 GB, free: 2.406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.904e-06/0.6603, allocations: 0 / 0.6287 GB, free: 2.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005437/0.6657, allocations: 1.661 MB / 0.6303 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.6658, allocations: 132.5 kB / 0.6304 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2855/0.9514, allocations: 0.6158 MB / 0.631 GB, free: 156.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.9516, allocations: 35.02 kB / 0.631 GB, free: 156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.9519, allocations: 365.1 kB / 0.6314 GB, free: 155.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.952, allocations: 147 kB / 0.6315 GB, free: 155.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.9521, allocations: 58.17 kB / 0.6316 GB, free: 155.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9523, allocations: 378.4 kB / 0.6319 GB, free: 155.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.9527, allocations: 200.4 kB / 0.6321 GB, free: 155.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.9532, allocations: 0.5159 MB / 0.6326 GB, free: 155.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00084/0.954, allocations: 0.7481 MB / 0.6334 GB, free: 154.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.954, allocations: 2.625 kB / 0.6334 GB, free: 154.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001423/0.9554, allocations: 0.8861 MB / 0.6342 GB, free: 154.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.9555, allocations: 8.906 kB / 0.6342 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.9555, allocations: 8.812 kB / 0.6342 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.957, allocations: 323 kB / 0.6346 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.9573, allocations: 121 kB / 0.6347 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009668/0.9583, allocations: 0.9291 MB / 0.6356 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/0.959, allocations: 48.2 kB / 0.6356 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.143e-05/0.9591, allocations: 69.38 kB / 0.6357 GB, free: 154.1 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.0003356/0.9594, allocations: 242.7 kB / 0.6359 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.9596, allocations: 66.97 kB / 0.636 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.961, allocations: 0.6847 MB / 0.6367 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.961, allocations: 2.75 kB / 0.6367 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.961, allocations: 3.031 kB / 0.6367 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.9611, allocations: 0 / 0.6367 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.963, allocations: 1.61 MB / 0.6382 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.963, allocations: 2.516 kB / 0.6382 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.9641, allocations: 216.4 kB / 0.6384 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.722e-05/0.9641, allocations: 23.73 kB / 0.6385 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.9642, allocations: 20.53 kB / 0.6385 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.966, allocations: 2.684 MB / 0.6411 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.966, allocations: 3.875 kB / 0.6411 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.9673, allocations: 0.8029 MB / 0.6419 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.9675, allocations: 196.7 kB / 0.6421 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/0.9676, allocations: 12.59 kB / 0.6421 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.968, allocations: 28.31 kB / 0.6421 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.9682, allocations: 43.66 kB / 0.6422 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.768e-05/0.9682, allocations: 39.94 kB / 0.6422 GB, free: 150.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004667/0.9687, allocations: 441.2 kB / 0.6426 GB, free: 150.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9687, allocations: 0 / 0.6426 GB, free: 150.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001034/0.9697, allocations: 296.9 kB / 0.6429 GB, free: 150.1 MB / 494.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.0008347/0.9706, allocations: 368.8 kB / 0.6433 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.9717, allocations: 0.535 MB / 0.6438 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.9718, allocations: 9.25 kB / 0.6438 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.9728, allocations: 414.9 kB / 0.6442 GB, free: 149.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.9747, allocations: 352.5 kB / 0.6445 GB, free: 149.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.9768, allocations: 1.62 MB / 0.6461 GB, free: 149 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.9772, allocations: 0.9321 MB / 0.647 GB, free: 148.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009745/0.9781, allocations: 263.6 kB / 0.6473 GB, free: 148.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.9785, allocations: 106.1 kB / 0.6474 GB, free: 148.2 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/0.9785, allocations: 3.938 kB / 0.6474 GB, free: 148.2 MB / 494.1 MB Notification: Performance of Templates: time 0.03599/1.014, allocations: 17.64 MB / 0.6646 GB, free: 146 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 -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/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