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.001434/0.001434, allocations: 108.8 kB / 18.45 MB, free: 4.602 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.001682/0.001682, allocations: 187 kB / 19.39 MB, free: 3.676 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.405/1.405, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2215/0.2215, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4371, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2252/0.6623, allocations: 174.3 MB / 0.6898 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007594/0.67, allocations: 5.338 MB / 0.695 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005683/0.6706, allocations: 19.88 kB / 0.6951 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000935/0.6716, allocations: 310 kB / 0.6954 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003481/0.6751, allocations: 1.35 MB / 0.6967 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.6779, allocations: 1.067 MB / 0.6977 GB, free: 5.004 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.6804, allocations: 1.856 MB / 0.6995 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008919/0.6813, allocations: 457.3 kB / 0.7 GB, free: 2.691 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.6839, allocations: 1.078 MB / 0.701 GB, free: 1.609 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.6856, allocations: 0.7549 MB / 0.7018 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.6859, allocations: 64 kB / 0.7018 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.6878, allocations: 0.6203 MB / 0.7024 GB, free: 172 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005095/0.6884, allocations: 267.2 kB / 0.7027 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007929/0.6892, allocations: 394.2 kB / 0.7031 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.6918, allocations: 1.301 MB / 0.7043 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6918, allocations: 3.938 kB / 0.7043 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6918, allocations: 4 kB / 0.7043 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.976e-05/0.6919, allocations: 0 / 0.7043 GB, free: 14.21 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.003463/0.6954, allocations: 1.098 MB / 0.7054 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.6954, allocations: 8.031 kB / 0.7054 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009508/0.6964, allocations: 131.1 kB / 0.7055 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.6977, allocations: 0.5313 MB / 0.7061 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.6978, allocations: 104.3 kB / 0.7062 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.6979, allocations: 55.98 kB / 0.7062 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.6993, allocations: 0.8156 MB / 0.707 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.6994, allocations: 0 / 0.707 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.449e-05/0.6995, allocations: 27.98 kB / 0.707 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.362e-05/0.6996, allocations: 44.86 kB / 0.7071 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.7008, allocations: 0.6166 MB / 0.7077 GB, free: 10.6 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.006989/0.7078, allocations: 3.973 MB / 0.7116 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006971/0.7085, allocations: 359.6 kB / 0.7119 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.7088, allocations: 173.3 kB / 0.7121 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.709, allocations: 89.38 kB / 0.7121 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.7091, allocations: 38.84 kB / 0.7122 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.535e-06/0.7091, allocations: 4 kB / 0.7122 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006394/0.7155, allocations: 1.664 MB / 0.7138 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.7156, allocations: 132.5 kB / 0.7139 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008427/0.7164, allocations: 0.6133 MB / 0.7145 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/0.7165, allocations: 33.7 kB / 0.7146 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.7168, allocations: 370.8 kB / 0.7149 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.717, allocations: 142.1 kB / 0.7151 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.7173, allocations: 154.5 kB / 0.7152 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.7175, allocations: 374.8 kB / 0.7156 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.7179, allocations: 209.8 kB / 0.7158 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006044/0.7185, allocations: 0.5086 MB / 0.7163 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.7195, allocations: 0.7552 MB / 0.717 GB, free: 336 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.7196, allocations: 8 kB / 0.717 GB, free: 328 kB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.3896/1.109, allocations: 0.8709 MB / 0.7179 GB, free: 190 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/1.109, allocations: 10.33 kB / 0.7179 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/1.109, allocations: 10.31 kB / 0.7179 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/1.111, allocations: 308.1 kB / 0.7182 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/1.111, allocations: 130.7 kB / 0.7183 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/1.112, allocations: 0.9321 MB / 0.7192 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/1.113, allocations: 27.66 kB / 0.7192 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/1.113, allocations: 65.92 kB / 0.7193 GB, free: 189.4 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.0004025/1.114, allocations: 244.9 kB / 0.7195 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/1.114, allocations: 69.56 kB / 0.7196 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/1.116, allocations: 0.863 MB / 0.7204 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.116, allocations: 5.906 kB / 0.7204 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.116, allocations: 1.719 kB / 0.7204 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/1.116, allocations: 182.8 kB / 0.7206 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.116, allocations: 11.16 kB / 0.7206 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/1.116, allocations: 14.94 kB / 0.7206 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/1.116, allocations: 34.77 kB / 0.7207 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001646/1.118, allocations: 0.6296 MB / 0.7213 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001156/1.119, allocations: 0.8156 MB / 0.7221 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003188/1.12, allocations: 184.9 kB / 0.7223 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005871/1.12, allocations: 438.2 kB / 0.7227 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of Backend: time 4.61e-07/1.12, allocations: 0 / 0.7227 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002372/1.123, allocations: 0.7621 MB / 0.7234 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00302/1.126, allocations: 1.912 MB / 0.7253 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.03099/1.157, allocations: 18.44 MB / 0.7433 GB, free: 175.3 MB / 0.5606 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