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.001313/0.001313, allocations: 114.6 kB / 17.09 MB, free: 5.965 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.001343/0.001343, allocations: 198.1 kB / 18.02 MB, free: 5.047 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.481/1.481, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2229/0.2229, allocations: 43.52 MB / 314.8 MB, free: 460 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.001785/0.001785, allocations: 89.7 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1404, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5134/0.6538, allocations: 179.6 MB / 0.664 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008279/0.6622, allocations: 5.753 MB / 0.6696 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007083/0.6629, allocations: 19.88 kB / 0.6696 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009105/0.6639, allocations: 314 kB / 0.6699 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.6681, allocations: 1.586 MB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00347/0.6715, allocations: 1.243 MB / 0.6727 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002568/0.6741, allocations: 1.837 MB / 0.6745 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006778/0.6748, allocations: 456.3 kB / 0.6749 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.6776, allocations: 1.238 MB / 0.6761 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.679, allocations: 0.7471 MB / 0.6769 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.6791, allocations: 60 kB / 0.6769 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.6811, allocations: 0.8386 MB / 0.6777 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.6814, allocations: 259.3 kB / 0.678 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004227/0.6819, allocations: 398.2 kB / 0.6784 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.6839, allocations: 1.426 MB / 0.6798 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6839, allocations: 0 / 0.6798 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6839, allocations: 0 / 0.6798 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.684, allocations: 0 / 0.6798 GB, free: 6.621 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.00249/0.6865, allocations: 1.126 MB / 0.6809 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.6865, allocations: 11.89 kB / 0.6809 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008399/0.6874, allocations: 139 kB / 0.681 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008738/0.6882, allocations: 0.5391 MB / 0.6815 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.6884, allocations: 100.4 kB / 0.6816 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.6885, allocations: 51.98 kB / 0.6817 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.6897, allocations: 0.8097 MB / 0.6825 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.6898, allocations: 7.938 kB / 0.6825 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.224e-05/0.6899, allocations: 23.98 kB / 0.6825 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.786e-05/0.6899, allocations: 44.97 kB / 0.6825 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.691, allocations: 0.6088 MB / 0.6831 GB, free: 2.988 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.004573/0.6955, allocations: 3.981 MB / 0.687 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/0.6961, allocations: 355.6 kB / 0.6874 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.6964, allocations: 173.2 kB / 0.6875 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/0.6969, allocations: 366 kB / 0.6879 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.697, allocations: 34.84 kB / 0.6879 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.697, allocations: 0 / 0.6879 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.00546/0.7024, allocations: 1.672 MB / 0.6895 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.7025, allocations: 140.4 kB / 0.6897 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006847/0.7032, allocations: 0.6132 MB / 0.6903 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.7033, allocations: 33.7 kB / 0.6903 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.7035, allocations: 366.9 kB / 0.6907 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.7037, allocations: 145.9 kB / 0.6908 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.7039, allocations: 158.5 kB / 0.6909 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.704, allocations: 378.8 kB / 0.6913 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.7044, allocations: 197.9 kB / 0.6915 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/0.705, allocations: 0.5163 MB / 0.692 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009576/0.7059, allocations: 0.7563 MB / 0.6927 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.7059, allocations: 4 kB / 0.6927 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001383/0.7073, allocations: 0.8684 MB / 0.6936 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7074, allocations: 11.98 kB / 0.6936 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.7074, allocations: 12 kB / 0.6936 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.7087, allocations: 314.6 kB / 0.6939 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.7091, allocations: 115.8 kB / 0.694 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.7102, allocations: 0.9385 MB / 0.6949 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/0.7107, allocations: 24 kB / 0.695 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.772e-05/0.7108, allocations: 67.98 kB / 0.695 GB, free: 6.023 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.0003532/0.7111, allocations: 241.6 kB / 0.6953 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.7113, allocations: 75.25 kB / 0.6953 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.7126, allocations: 0.6816 MB / 0.696 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7126, allocations: 0 / 0.696 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7126, allocations: 0 / 0.696 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.7129, allocations: 188.3 kB / 0.6962 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.713, allocations: 15.89 kB / 0.6962 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.7133, allocations: 16 kB / 0.6962 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.7135, allocations: 39.89 kB / 0.6962 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001592/0.7151, allocations: 0.6193 MB / 0.6969 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0011/0.7162, allocations: 0.8185 MB / 0.6977 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002753/0.7165, allocations: 179.9 kB / 0.6978 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005312/0.717, allocations: 439 kB / 0.6982 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of Backend: time 7.72e-07/0.717, allocations: 3.938 kB / 0.6982 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002404/0.7194, allocations: 0.8305 MB / 0.6991 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002783/0.7222, allocations: 1.911 MB / 0.7009 GB, free: 15.87 MB / 0.545 GB Notification: Performance of Templates: time 0.03035/0.7526, allocations: 19.55 MB / 0.72 GB, free: 12.33 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