Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.00157/0.00157, allocations: 113.1 kB / 17.09 MB, free: 5.938 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.002004/0.002004, allocations: 194 kB / 18.03 MB, free: 5.016 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.529/1.529, allocations: 205.1 MB / 223.9 MB, free: 12.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2026/0.2026, allocations: 43.53 MB / 314.8 MB, free: 432 kB / 254.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.002251/0.002251, allocations: 69.45 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1791, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5199/0.6991, allocations: 179.7 MB / 0.664 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009233/0.7084, allocations: 5.748 MB / 0.6696 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009131/0.7093, allocations: 19.88 kB / 0.6696 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.7106, allocations: 321.9 kB / 0.6699 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.7154, allocations: 1.591 MB / 0.6715 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.719, allocations: 1.243 MB / 0.6727 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002516/0.7216, allocations: 1.848 MB / 0.6745 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009087/0.7225, allocations: 460.4 kB / 0.675 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.7256, allocations: 1.25 MB / 0.6762 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.7273, allocations: 0.751 MB / 0.6769 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.7275, allocations: 64 kB / 0.677 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.7294, allocations: 0.8269 MB / 0.6778 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003995/0.7298, allocations: 267.3 kB / 0.678 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006229/0.7304, allocations: 394.2 kB / 0.6784 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.7328, allocations: 1.429 MB / 0.6798 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7328, allocations: 0 / 0.6798 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7329, allocations: 0 / 0.6798 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.23e-05/0.7329, allocations: 0 / 0.6798 GB, free: 6.723 MB / 0.5137 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.002817/0.7357, allocations: 1.156 MB / 0.6809 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.7358, allocations: 11.89 kB / 0.6809 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.7368, allocations: 143.5 kB / 0.6811 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.7378, allocations: 0.5435 MB / 0.6816 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.7379, allocations: 96.41 kB / 0.6817 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.738, allocations: 55.92 kB / 0.6818 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.7393, allocations: 0.8136 MB / 0.6826 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.7394, allocations: 0 / 0.6826 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.528e-05/0.7395, allocations: 23.98 kB / 0.6826 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/0.7395, allocations: 44.86 kB / 0.6826 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.7407, allocations: 0.6205 MB / 0.6832 GB, free: 3.043 MB / 0.5137 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.005002/0.7457, allocations: 3.974 MB / 0.6871 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/0.7463, allocations: 353.1 kB / 0.6874 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.7466, allocations: 173.3 kB / 0.6876 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/0.7471, allocations: 366 kB / 0.688 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.7472, allocations: 42.77 kB / 0.688 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.445e-06/0.7472, allocations: 0 / 0.688 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005758/0.753, allocations: 1.681 MB / 0.6896 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.7531, allocations: 132.5 kB / 0.6898 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007627/0.7538, allocations: 0.6133 MB / 0.6904 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.7539, allocations: 37.7 kB / 0.6904 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.7542, allocations: 371.9 kB / 0.6908 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.7543, allocations: 150.7 kB / 0.6909 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.7546, allocations: 162.6 kB / 0.6911 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7547, allocations: 370.8 kB / 0.6914 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.7551, allocations: 201.9 kB / 0.6916 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.7558, allocations: 0.5125 MB / 0.6921 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.7568, allocations: 0.7563 MB / 0.6928 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.7568, allocations: 7.938 kB / 0.6928 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001449/0.7583, allocations: 0.8802 MB / 0.6937 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.7583, allocations: 8 kB / 0.6937 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.7583, allocations: 12 kB / 0.6937 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.7597, allocations: 309.2 kB / 0.694 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.7601, allocations: 131.8 kB / 0.6941 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.7613, allocations: 0.9231 MB / 0.695 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.7617, allocations: 35.97 kB / 0.6951 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/0.7618, allocations: 60 kB / 0.6951 GB, free: 6.062 MB / 0.5294 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.0003496/0.7622, allocations: 253.5 kB / 0.6954 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.7623, allocations: 71.52 kB / 0.6954 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.7637, allocations: 0.6855 MB / 0.6961 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.7637, allocations: 7.984 kB / 0.6961 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7637, allocations: 0 / 0.6961 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.764, allocations: 188.6 kB / 0.6963 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/0.7641, allocations: 16 kB / 0.6963 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.7645, allocations: 15.98 kB / 0.6963 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.7646, allocations: 35.91 kB / 0.6964 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001579/0.7661, allocations: 0.6231 MB / 0.697 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001129/0.7673, allocations: 0.8227 MB / 0.6978 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002942/0.7676, allocations: 183.9 kB / 0.698 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004906/0.7681, allocations: 431 kB / 0.6984 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of Backend: time 3.81e-07/0.7681, allocations: 0 / 0.6984 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002245/0.7703, allocations: 0.83 MB / 0.6992 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002872/0.7732, allocations: 1.94 MB / 0.7011 GB, free: 15.86 MB / 0.545 GB Notification: Performance of Templates: time 0.0307/0.8039, allocations: 19.31 MB / 0.7199 GB, free: 12.57 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches