Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001365/0.001364, allocations: 111.6 kB / 17.98 MB, free: 4.887 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.001439/0.001439, allocations: 189.3 kB / 18.9 MB, free: 4.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 242.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2136/0.2136, allocations: 44.18 MB / 336.9 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001271, allocations: 64.48 kB / 408.6 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 60.83 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.381/0.4916, allocations: 172.5 MB / 0.6269 GB, free: 4.426 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007199/0.4989, allocations: 5.409 MB / 0.6322 GB, free: 15 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008177/0.4997, allocations: 27.81 kB / 0.6322 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.5008, allocations: 282.5 kB / 0.6325 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003591/0.5044, allocations: 1.223 MB / 0.6336 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.507, allocations: 0.9804 MB / 0.6346 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002349/0.5094, allocations: 1.864 MB / 0.6364 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008231/0.5102, allocations: 463.8 kB / 0.6369 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.5125, allocations: 1.059 MB / 0.6379 GB, free: 9.117 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.514, allocations: 0.7862 MB / 0.6387 GB, free: 8.328 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.5142, allocations: 63.94 kB / 0.6387 GB, free: 8.266 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.5156, allocations: 0.5852 MB / 0.6393 GB, free: 7.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003431/0.5159, allocations: 275.3 kB / 0.6396 GB, free: 7.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006564/0.5166, allocations: 406.2 kB / 0.6399 GB, free: 7.012 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.5181, allocations: 0.9706 MB / 0.6409 GB, free: 6.039 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5181, allocations: 0 / 0.6409 GB, free: 6.039 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5181, allocations: 0 / 0.6409 GB, free: 6.039 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.835e-05/0.5182, allocations: 0 / 0.6409 GB, free: 6.039 MB / 478.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.00278/0.521, allocations: 1.103 MB / 0.642 GB, free: 4.883 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.521, allocations: 8.031 kB / 0.642 GB, free: 4.875 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000887/0.5219, allocations: 135 kB / 0.6421 GB, free: 4.742 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008341/0.5228, allocations: 0.5041 MB / 0.6426 GB, free: 4.199 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.5229, allocations: 104.4 kB / 0.6427 GB, free: 4.082 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.523, allocations: 55.91 kB / 0.6428 GB, free: 4.027 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5244, allocations: 0.8135 MB / 0.6436 GB, free: 3.141 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.5244, allocations: 7.938 kB / 0.6436 GB, free: 3.133 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.5245, allocations: 23.98 kB / 0.6436 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/0.5245, allocations: 48.92 kB / 0.6436 GB, free: 3.062 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.5256, allocations: 0.6204 MB / 0.6442 GB, free: 2.441 MB / 478.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.004602/0.5302, allocations: 3.953 MB / 0.6481 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.5308, allocations: 359.6 kB / 0.6484 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.5311, allocations: 169.3 kB / 0.6486 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.5313, allocations: 93.38 kB / 0.6487 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.5313, allocations: 38.84 kB / 0.6487 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.515e-06/0.5313, allocations: 0 / 0.6487 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.006299/0.5376, allocations: 1.669 MB / 0.6504 GB, free: 11.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.5377, allocations: 136.5 kB / 0.6505 GB, free: 11.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.5388, allocations: 0.6171 MB / 0.6511 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-05/0.5389, allocations: 37.7 kB / 0.6511 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.5391, allocations: 366.9 kB / 0.6515 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.5393, allocations: 142 kB / 0.6516 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.5395, allocations: 154.5 kB / 0.6518 GB, free: 10.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5396, allocations: 374.8 kB / 0.6521 GB, free: 9.941 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.54, allocations: 205.9 kB / 0.6523 GB, free: 9.738 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.5406, allocations: 0.5164 MB / 0.6528 GB, free: 9.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009806/0.5416, allocations: 0.7523 MB / 0.6535 GB, free: 8.184 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5416, allocations: 0 / 0.6535 GB, free: 8.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001555/0.5432, allocations: 0.8834 MB / 0.6544 GB, free: 7.289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.5432, allocations: 12 kB / 0.6544 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.5433, allocations: 8 kB / 0.6544 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.5447, allocations: 316.1 kB / 0.6547 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.5451, allocations: 123.8 kB / 0.6548 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.5463, allocations: 0.9308 MB / 0.6558 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/0.5469, allocations: 51.94 kB / 0.6558 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.593e-05/0.547, allocations: 60 kB / 0.6559 GB, free: 5.773 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.0003717/0.5474, allocations: 258 kB / 0.6561 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.5476, allocations: 63.25 kB / 0.6562 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.5495, allocations: 0.8759 MB / 0.657 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5495, allocations: 4 kB / 0.657 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5495, allocations: 4 kB / 0.657 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5495, allocations: 0 / 0.657 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.5517, allocations: 1.461 MB / 0.6585 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.5517, allocations: 4 kB / 0.6585 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.5527, allocations: 211.7 kB / 0.6587 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.731e-05/0.5528, allocations: 32.97 kB / 0.6587 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.5529, allocations: 16 kB / 0.6587 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.555, allocations: 2.877 MB / 0.6615 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.555, allocations: 7.969 kB / 0.6615 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.5563, allocations: 0.8208 MB / 0.6623 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.5566, allocations: 188.2 kB / 0.6625 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.5568, allocations: 12.06 kB / 0.6625 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.5573, allocations: 27.97 kB / 0.6626 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.5574, allocations: 43.89 kB / 0.6626 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/0.5575, allocations: 51.97 kB / 0.6626 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005832/0.558, allocations: 439 kB / 0.6631 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5581, allocations: 0 / 0.6631 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009554/0.559, allocations: 252 kB / 0.6633 GB, free: 13.67 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.0007766/0.5598, allocations: 283.3 kB / 0.6636 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.561, allocations: 0.6045 MB / 0.6642 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5611, allocations: 0 / 0.6642 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009792/0.562, allocations: 412.1 kB / 0.6646 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.5638, allocations: 370.7 kB / 0.6649 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.5661, allocations: 1.602 MB / 0.6665 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/0.5667, allocations: 0.9222 MB / 0.6674 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004295/0.5671, allocations: 131.4 kB / 0.6675 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.5671, allocations: 4 kB / 0.6675 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of Templates: time 0.02208/0.5892, allocations: 16.47 MB / 0.6836 GB, free: 8.883 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches