Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.001069, allocations: 96.19 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 207.2 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.7 MB / 247.5 MB, free: 11.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1845/0.1845, allocations: 46.18 MB / 345.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002774, allocations: 8.281 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1033, allocations: 63.56 MB / 483.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3736/0.477, allocations: 173.2 MB / 0.6415 GB, free: 7.375 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006967/0.484, allocations: 5.414 MB / 0.6468 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007679/0.4848, allocations: 27.75 kB / 0.6468 GB, free: 1.922 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008658/0.4857, allocations: 278.5 kB / 0.6471 GB, free: 1.648 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003096/0.4888, allocations: 1.212 MB / 0.6483 GB, free: 448 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.4912, allocations: 0.9464 MB / 0.6492 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00267/0.4938, allocations: 2.734 MB / 0.6519 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005885/0.4944, allocations: 395.6 kB / 0.6523 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.4963, allocations: 0.9729 MB / 0.6532 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.4975, allocations: 0.7783 MB / 0.654 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.168e-05/0.4976, allocations: 39.94 kB / 0.654 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.4988, allocations: 0.5305 MB / 0.6545 GB, free: 10.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.4991, allocations: 243.2 kB / 0.6547 GB, free: 9.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004233/0.4996, allocations: 388 kB / 0.6551 GB, free: 9.414 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.5007, allocations: 0.9547 MB / 0.6561 GB, free: 8.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5007, allocations: 0 / 0.6561 GB, free: 8.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5007, allocations: 0 / 0.6561 GB, free: 8.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.5007, allocations: 4 kB / 0.6561 GB, free: 8.453 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.001926/0.5027, allocations: 0.9465 MB / 0.657 GB, free: 7.453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.5027, allocations: 12.03 kB / 0.657 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008018/0.5035, allocations: 135.1 kB / 0.6571 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007347/0.5043, allocations: 0.504 MB / 0.6576 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.5044, allocations: 100.4 kB / 0.6577 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.752e-05/0.5045, allocations: 51.98 kB / 0.6578 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.5058, allocations: 0.8174 MB / 0.6586 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.5058, allocations: 7.891 kB / 0.6586 GB, free: 5.703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.152e-05/0.5059, allocations: 24 kB / 0.6586 GB, free: 5.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.734e-05/0.5059, allocations: 40.92 kB / 0.6586 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.507, allocations: 0.6243 MB / 0.6592 GB, free: 5.016 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.00435/0.5114, allocations: 3.944 MB / 0.6631 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.5119, allocations: 353.9 kB / 0.6634 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.5122, allocations: 173.3 kB / 0.6636 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.5124, allocations: 97.31 kB / 0.6637 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.5124, allocations: 38.84 kB / 0.6637 GB, free: 144 kB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.5124, allocations: 0 / 0.6637 GB, free: 144 kB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005594/0.518, allocations: 1.67 MB / 0.6653 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.5181, allocations: 144.5 kB / 0.6655 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00071/0.5188, allocations: 0.6094 MB / 0.6661 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.5189, allocations: 37.7 kB / 0.6661 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.5191, allocations: 370.8 kB / 0.6665 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.5193, allocations: 134.1 kB / 0.6666 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/0.5194, allocations: 61.69 kB / 0.6667 GB, free: 13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5195, allocations: 374.8 kB / 0.667 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.5199, allocations: 201.9 kB / 0.6672 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.5205, allocations: 0.5164 MB / 0.6677 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.5214, allocations: 0.7591 MB / 0.6685 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5214, allocations: 0 / 0.6685 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001437/0.5229, allocations: 0.8838 MB / 0.6693 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.5229, allocations: 14.19 kB / 0.6693 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.5229, allocations: 12.16 kB / 0.6693 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.5244, allocations: 308.6 kB / 0.6696 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.5248, allocations: 127.8 kB / 0.6698 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.5259, allocations: 0.9347 MB / 0.6707 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.5264, allocations: 51.84 kB / 0.6707 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.244e-05/0.5265, allocations: 63.98 kB / 0.6708 GB, free: 8.434 MB / 0.4981 GB 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.0003342/0.5268, allocations: 249.9 kB / 0.671 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.527, allocations: 63.25 kB / 0.6711 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.5287, allocations: 0.8668 MB / 0.6719 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.5287, allocations: 4 kB / 0.6719 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.5287, allocations: 7.984 kB / 0.6719 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.5287, allocations: 3.984 kB / 0.6719 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.5307, allocations: 1.461 MB / 0.6734 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5307, allocations: 0 / 0.6734 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.5317, allocations: 211.8 kB / 0.6736 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.044e-05/0.5318, allocations: 28.94 kB / 0.6736 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.5319, allocations: 23.98 kB / 0.6736 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.5338, allocations: 2.677 MB / 0.6762 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5338, allocations: 8.094 kB / 0.6762 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.535, allocations: 0.8164 MB / 0.677 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002838/0.5353, allocations: 192.2 kB / 0.6772 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.5354, allocations: 15.94 kB / 0.6772 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.5359, allocations: 27.97 kB / 0.6773 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/0.536, allocations: 43.95 kB / 0.6773 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.536, allocations: 43.98 kB / 0.6773 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005284/0.5366, allocations: 439 kB / 0.6778 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5366, allocations: 0 / 0.6778 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008913/0.5375, allocations: 251.9 kB / 0.678 GB, free: 0.5508 MB / 0.4981 GB 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.0007478/0.5382, allocations: 302.8 kB / 0.6783 GB, free: 264 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.5394, allocations: 0.5554 MB / 0.6788 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5394, allocations: 0.5 kB / 0.6788 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009252/0.5403, allocations: 410.3 kB / 0.6792 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.5422, allocations: 352.5 kB / 0.6796 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.5445, allocations: 1.686 MB / 0.6812 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.545, allocations: 0.9261 MB / 0.6821 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/0.5454, allocations: 123.4 kB / 0.6822 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.5454, allocations: 0 / 0.6822 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.02272/0.5682, allocations: 16.44 MB / 0.6983 GB, free: 11.75 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p