Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000858/0.0008581, allocations: 98.58 kB / 16.95 MB, free: 6.453 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.0008381/0.0008379, allocations: 183.7 kB / 17.84 MB, free: 6.004 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.488/1.488, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.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.0005361/0.0005362, allocations: 8 kB / 280.8 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1224, allocations: 47.58 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4379/0.5604, allocations: 156.9 MB / 485.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004317/0.5648, allocations: 2.99 MB / 488.3 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004061/0.5652, allocations: 7.938 kB / 488.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.5658, allocations: 123.3 kB / 488.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.5669, allocations: 366.1 kB / 488.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008893/0.5678, allocations: 269.5 kB / 489 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.5693, allocations: 1.117 MB / 490.1 MB, free: 8.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.5695, allocations: 73.19 kB / 490.2 MB, free: 8.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.5716, allocations: 0.6626 MB / 490.9 MB, free: 7.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.5722, allocations: 279 kB / 491.1 MB, free: 7.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.729e-05/0.5723, allocations: 16 kB / 491.1 MB, free: 7.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.5727, allocations: 107.9 kB / 491.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.5728, allocations: 79.7 kB / 491.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.573, allocations: 89.58 kB / 491.4 MB, free: 7.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005248/0.5735, allocations: 396.5 kB / 491.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5735, allocations: 0 / 491.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5736, allocations: 0 / 491.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.5736, allocations: 0 / 491.8 MB, free: 6.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008685/0.5744, allocations: 0.5229 MB / 492.3 MB, free: 6.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.5745, allocations: 11.97 kB / 492.3 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003181/0.5748, allocations: 47.61 kB / 492.4 MB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.5753, allocations: 270.6 kB / 492.6 MB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.5753, allocations: 16.56 kB / 492.7 MB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.5754, allocations: 29.72 kB / 492.7 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.5759, allocations: 323.7 kB / 493 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.5759, allocations: 0 / 493 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.576, allocations: 15.95 kB / 493 MB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.576, allocations: 8 kB / 493 MB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.5763, allocations: 205.5 kB / 493.2 MB, free: 5.133 MB / 382.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.00193/0.5783, allocations: 1.581 MB / 494.8 MB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.5786, allocations: 168.9 kB / 495 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.5788, allocations: 100.8 kB / 495.1 MB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.5788, allocations: 11.98 kB / 495.1 MB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5789, allocations: 34.56 kB / 495.1 MB, free: 3.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 2.585e-06/0.5789, allocations: 3.984 kB / 495.1 MB, free: 3.07 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005426/0.5843, allocations: 1.626 MB / 496.8 MB, free: 1.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.5844, allocations: 55.41 kB / 496.8 MB, free: 1.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.5847, allocations: 256.8 kB / 497.1 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.5847, allocations: 29.7 kB / 497.1 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.5849, allocations: 180.2 kB / 497.3 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.874e-05/0.585, allocations: 94.56 kB / 497.4 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.585, allocations: 4 kB / 497.4 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.5852, allocations: 342.8 kB / 497.7 MB, free: 336 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.5854, allocations: 83.75 kB / 497.8 MB, free: 252 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.5856, allocations: 191.7 kB / 498 MB, free: 16 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.5859, allocations: 112.1 kB / 498.1 MB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.5859, allocations: 8 kB / 498.1 MB, free: 15.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006941/0.5866, allocations: 390.7 kB / 498.5 MB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.5866, allocations: 11.95 kB / 498.5 MB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.5866, allocations: 8.391 kB / 498.5 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.5869, allocations: 77.62 kB / 498.6 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.5872, allocations: 83.89 kB / 498.6 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.5887, allocations: 1.844 MB / 0.4888 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.589, allocations: 28.11 kB / 0.4888 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/0.5891, allocations: 40 kB / 0.4888 GB, free: 13.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002029/0.5893, allocations: 161.7 kB / 0.489 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.5893, allocations: 27.7 kB / 0.489 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.5904, allocations: 444.5 kB / 0.4894 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5904, allocations: 4 kB / 0.4894 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5904, allocations: 0 / 0.4894 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005909/0.591, allocations: 0.5668 MB / 0.49 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.5922, allocations: 0.7232 MB / 0.4907 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.5922, allocations: 4 kB / 0.4907 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.5925, allocations: 71.89 kB / 0.4908 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-05/0.5926, allocations: 20.84 kB / 0.4908 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.5926, allocations: 15.98 kB / 0.4908 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009519/0.5936, allocations: 1.288 MB / 0.492 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5936, allocations: 0 / 0.492 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/0.5943, allocations: 478.8 kB / 0.4925 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.5944, allocations: 108.7 kB / 0.4926 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.5945, allocations: 8 kB / 0.4926 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.5947, allocations: 15.98 kB / 0.4926 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.5948, allocations: 23.97 kB / 0.4927 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.5948, allocations: 36.05 kB / 0.4927 GB, free: 8.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.595, allocations: 182 kB / 0.4929 GB, free: 8.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.595, allocations: 0 / 0.4929 GB, free: 8.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005822/0.5956, allocations: 132 kB / 0.493 GB, free: 8.617 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004364/0.5961, allocations: 151.1 kB / 0.4931 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006927/0.5968, allocations: 374.3 kB / 0.4935 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.5968, allocations: 4.812 kB / 0.4935 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.5971, allocations: 226.7 kB / 0.4937 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/0.598, allocations: 161.2 kB / 0.4939 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.5993, allocations: 0.8396 MB / 0.4947 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.5997, allocations: 0.7683 MB / 0.4954 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000573/0.6003, allocations: 114.9 kB / 0.4955 GB, free: 5.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.6005, allocations: 67.41 kB / 0.4956 GB, free: 5.844 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6005, allocations: 0 / 0.4956 GB, free: 5.844 MB / 398.1 MB Notification: Performance of Templates: time 0.0156/0.6161, allocations: 8.264 MB / 0.5037 GB, free: 13.58 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches