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.001469/0.001469, allocations: 112.7 kB / 17.04 MB, free: 5.812 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.001541/0.001541, allocations: 195 kB / 17.97 MB, free: 5.027 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.437/1.437, 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.2183/0.2183, allocations: 43.53 MB / 314.7 MB, free: 480 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.001522/0.001522, allocations: 70.42 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.389/0.5114, allocations: 179.6 MB / 0.6071 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006483/0.518, allocations: 5.754 MB / 0.6127 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.5185, allocations: 20.72 kB / 0.6127 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007852/0.5193, allocations: 314.6 kB / 0.613 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.5228, allocations: 1.567 MB / 0.6145 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.5257, allocations: 1.242 MB / 0.6157 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001992/0.5277, allocations: 1.839 MB / 0.6175 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006022/0.5284, allocations: 470.1 kB / 0.618 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002448/0.5308, allocations: 1.233 MB / 0.6192 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.532, allocations: 0.743 MB / 0.6199 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.87e-05/0.5321, allocations: 68.56 kB / 0.62 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.5338, allocations: 0.8235 MB / 0.6208 GB, free: 300 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.534, allocations: 265.7 kB / 0.621 GB, free: 116 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000405/0.5344, allocations: 395.1 kB / 0.6214 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.5361, allocations: 1.426 MB / 0.6228 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5361, allocations: 0 / 0.6228 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5361, allocations: 0 / 0.6228 GB, free: 14.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.5361, allocations: 0 / 0.6228 GB, free: 14.96 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.002099/0.5382, allocations: 1.131 MB / 0.6239 GB, free: 13.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.5383, allocations: 15.89 kB / 0.6239 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000809/0.5391, allocations: 135.1 kB / 0.624 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008904/0.54, allocations: 0.5353 MB / 0.6246 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.423e-05/0.5401, allocations: 104.3 kB / 0.6247 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.326e-05/0.5402, allocations: 47.98 kB / 0.6247 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.5414, allocations: 0.8136 MB / 0.6255 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.5414, allocations: 3.938 kB / 0.6255 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/0.5415, allocations: 24 kB / 0.6255 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/0.5416, allocations: 40.97 kB / 0.6256 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000996/0.5426, allocations: 0.6205 MB / 0.6262 GB, free: 11.5 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.004358/0.5469, allocations: 3.973 MB / 0.6301 GB, free: 7.277 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.5475, allocations: 356.8 kB / 0.6304 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.5478, allocations: 169.3 kB / 0.6306 GB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004133/0.5482, allocations: 365.4 kB / 0.6309 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.5482, allocations: 34.84 kB / 0.6309 GB, free: 6.301 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.5482, allocations: 0 / 0.6309 GB, free: 6.301 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005421/0.5537, allocations: 1.673 MB / 0.6326 GB, free: 4.555 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.5538, allocations: 140.5 kB / 0.6327 GB, free: 4.387 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006906/0.5545, allocations: 0.6132 MB / 0.6333 GB, free: 3.766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.5545, allocations: 37.7 kB / 0.6333 GB, free: 3.723 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.5548, allocations: 362.9 kB / 0.6337 GB, free: 3.363 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.5549, allocations: 146 kB / 0.6338 GB, free: 3.219 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.5551, allocations: 158.5 kB / 0.634 GB, free: 3.059 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5552, allocations: 374.8 kB / 0.6343 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.5556, allocations: 201.9 kB / 0.6345 GB, free: 2.484 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005587/0.5561, allocations: 0.5125 MB / 0.635 GB, free: 1.824 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.5572, allocations: 0.7565 MB / 0.6358 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.5572, allocations: 4 kB / 0.6358 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001438/0.5586, allocations: 0.872 MB / 0.6366 GB, free: 44 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.5587, allocations: 8 kB / 0.6366 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.5587, allocations: 12 kB / 0.6366 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.5601, allocations: 316.2 kB / 0.637 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.5605, allocations: 127.8 kB / 0.6371 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.5616, allocations: 0.9307 MB / 0.638 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.5621, allocations: 31.98 kB / 0.638 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.39e-05/0.5622, allocations: 63.98 kB / 0.6381 GB, free: 14.54 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.0003241/0.5625, allocations: 246.5 kB / 0.6383 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.5626, allocations: 67.19 kB / 0.6384 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.564, allocations: 0.6822 MB / 0.639 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.564, allocations: 11.94 kB / 0.6391 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.564, allocations: 0 / 0.6391 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.5641, allocations: 3.984 kB / 0.6391 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.5663, allocations: 1.611 MB / 0.6406 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5663, allocations: 3.938 kB / 0.6406 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.5673, allocations: 211.9 kB / 0.6408 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001152/0.5674, allocations: 28.78 kB / 0.6409 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-05/0.5675, allocations: 16 kB / 0.6409 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/0.5699, allocations: 2.877 MB / 0.6437 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.57, allocations: 0 / 0.6437 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.5714, allocations: 0.8044 MB / 0.6445 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.5718, allocations: 200.2 kB / 0.6447 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.189e-05/0.5719, allocations: 8 kB / 0.6447 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.5723, allocations: 19.98 kB / 0.6447 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.427e-05/0.5724, allocations: 43.95 kB / 0.6447 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.697e-05/0.5725, allocations: 43.98 kB / 0.6448 GB, free: 7.172 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000558/0.5731, allocations: 443 kB / 0.6452 GB, free: 6.742 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5731, allocations: 0 / 0.6452 GB, free: 6.742 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009559/0.574, allocations: 292 kB / 0.6455 GB, free: 6.457 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.0007921/0.5748, allocations: 364.1 kB / 0.6458 GB, free: 6.098 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.5759, allocations: 0.5513 MB / 0.6464 GB, free: 5.547 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5759, allocations: 3.859 kB / 0.6464 GB, free: 5.543 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009122/0.5768, allocations: 407.1 kB / 0.6468 GB, free: 5.133 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.5783, allocations: 388.5 kB / 0.6471 GB, free: 4.766 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.5802, allocations: 1.302 MB / 0.6484 GB, free: 3.422 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.5807, allocations: 0.93 MB / 0.6493 GB, free: 2.465 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000742/0.5814, allocations: 258 kB / 0.6495 GB, free: 2.211 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.5817, allocations: 99.41 kB / 0.6496 GB, free: 2.113 MB / 462.1 MB Notification: Performance of SimCode: time 1.603e-06/0.5817, allocations: 4 kB / 0.6496 GB, free: 2.109 MB / 462.1 MB Notification: Performance of Templates: time 0.02667/0.6084, allocations: 18.32 MB / 0.6675 GB, free: 15.83 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 gbode -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