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.001254/0.001254, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.001371, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 71.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3546, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.214/0.5686, allocations: 177.2 MB / 0.7048 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008447/0.5771, allocations: 5.335 MB / 0.71 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008983/0.5781, allocations: 19.88 kB / 0.71 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.5793, allocations: 317.9 kB / 0.7103 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.5837, allocations: 1.361 MB / 0.7116 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.5867, allocations: 1.058 MB / 0.7127 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002509/0.5893, allocations: 1.871 MB / 0.7145 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009473/0.5902, allocations: 461.4 kB / 0.7149 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.5929, allocations: 1.086 MB / 0.716 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.5946, allocations: 0.7627 MB / 0.7167 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.5948, allocations: 64 kB / 0.7168 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.5967, allocations: 0.6311 MB / 0.7174 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004643/0.5972, allocations: 263.3 kB / 0.7177 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.5983, allocations: 406.1 kB / 0.718 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003514/0.6018, allocations: 1.297 MB / 0.7193 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.6018, allocations: 0 / 0.7193 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6018, allocations: 0 / 0.7193 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.679e-05/0.6019, allocations: 8 kB / 0.7193 GB, free: 0.8828 MB / 0.5606 GB 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.3036/0.9055, allocations: 1.092 MB / 0.7204 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.9055, allocations: 9.219 kB / 0.7204 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.9068, allocations: 138.4 kB / 0.7205 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.9079, allocations: 0.5353 MB / 0.7211 GB, free: 186 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.908, allocations: 98.58 kB / 0.7211 GB, free: 186 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.9081, allocations: 51.28 kB / 0.7212 GB, free: 186 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.9097, allocations: 0.8199 MB / 0.722 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.9098, allocations: 1.75 kB / 0.722 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-05/0.9099, allocations: 25.23 kB / 0.722 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.91, allocations: 39.38 kB / 0.7221 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.9112, allocations: 0.6216 MB / 0.7227 GB, free: 185.3 MB / 0.5606 GB 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.004245/0.9155, allocations: 3.928 MB / 0.7265 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.9161, allocations: 362.8 kB / 0.7268 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.9164, allocations: 171.2 kB / 0.727 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.9165, allocations: 90.72 kB / 0.7271 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.9166, allocations: 42.19 kB / 0.7271 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.9166, allocations: 0 / 0.7271 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005393/0.922, allocations: 1.683 MB / 0.7288 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.922, allocations: 140.9 kB / 0.7289 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007307/0.9228, allocations: 0.6107 MB / 0.7295 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.9228, allocations: 36.83 kB / 0.7295 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.923, allocations: 358.3 kB / 0.7299 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.546e-05/0.9231, allocations: 144.5 kB / 0.73 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.9234, allocations: 164.8 kB / 0.7302 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.9235, allocations: 370.8 kB / 0.7305 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.9238, allocations: 204.2 kB / 0.7307 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.9243, allocations: 0.5133 MB / 0.7312 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008835/0.9252, allocations: 0.7474 MB / 0.732 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.9253, allocations: 3.5 kB / 0.732 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001453/0.9267, allocations: 0.8889 MB / 0.7328 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.9267, allocations: 9.781 kB / 0.7328 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.9268, allocations: 9.219 kB / 0.7329 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.9281, allocations: 313.7 kB / 0.7332 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.9286, allocations: 125 kB / 0.7333 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.9296, allocations: 0.9439 MB / 0.7342 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.9302, allocations: 23.25 kB / 0.7342 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.9303, allocations: 69.7 kB / 0.7343 GB, free: 176.3 MB / 0.5606 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.0003423/0.9307, allocations: 248.5 kB / 0.7345 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.9308, allocations: 64.91 kB / 0.7346 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.9323, allocations: 0.8733 MB / 0.7354 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.9323, allocations: 3.969 kB / 0.7354 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.9323, allocations: 0 / 0.7354 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.9323, allocations: 3.969 kB / 0.7354 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.9341, allocations: 1.455 MB / 0.7369 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.9341, allocations: 3.688 kB / 0.7369 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009435/0.935, allocations: 204.5 kB / 0.7371 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.554e-05/0.9351, allocations: 27.89 kB / 0.7371 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.9352, allocations: 20.25 kB / 0.7371 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.9365, allocations: 2.875 MB / 0.7399 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9366, allocations: 11.81 kB / 0.7399 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.9376, allocations: 0.8135 MB / 0.7407 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.9378, allocations: 192.1 kB / 0.7409 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/0.9379, allocations: 16 kB / 0.7409 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.9383, allocations: 23.98 kB / 0.7409 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.9384, allocations: 39.89 kB / 0.741 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.9385, allocations: 43.98 kB / 0.741 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004086/0.9389, allocations: 439 kB / 0.7414 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9389, allocations: 0 / 0.7414 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008768/0.9398, allocations: 253.2 kB / 0.7417 GB, free: 169.6 MB / 0.5606 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.000687/0.9405, allocations: 303.5 kB / 0.742 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.9415, allocations: 0.5552 MB / 0.7425 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.9415, allocations: 1.219 kB / 0.7425 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008424/0.9423, allocations: 407.6 kB / 0.7429 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.9438, allocations: 361.4 kB / 0.7432 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.9458, allocations: 1.375 MB / 0.7446 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.9461, allocations: 0.9287 MB / 0.7455 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.9465, allocations: 127.4 kB / 0.7456 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.9465, allocations: 4 kB / 0.7456 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.01846/0.9649, allocations: 16.63 MB / 0.7619 GB, free: 149 MB / 0.5606 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