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.001639/0.001639, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.002333/0.002333, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.559/1.559, allocations: 205.1 MB / 223.2 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.229/0.229, allocations: 43.53 MB / 314.1 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.001629/0.001629, allocations: 67.91 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1678, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.6921/0.86, allocations: 179.6 MB / 0.6633 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009815/0.8699, allocations: 5.745 MB / 0.6689 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.871, allocations: 19.88 kB / 0.669 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.8724, allocations: 325.9 kB / 0.6693 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005502/0.8779, allocations: 1.597 MB / 0.6708 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.8816, allocations: 1.243 MB / 0.672 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002531/0.8841, allocations: 1.848 MB / 0.6739 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007164/0.8849, allocations: 453.3 kB / 0.6743 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.888, allocations: 1.246 MB / 0.6755 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.8895, allocations: 0.7588 MB / 0.6762 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.8896, allocations: 60 kB / 0.6763 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.8916, allocations: 0.8237 MB / 0.6771 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.8919, allocations: 267.3 kB / 0.6774 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.8924, allocations: 394.2 kB / 0.6777 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.8942, allocations: 1.433 MB / 0.6791 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8942, allocations: 0 / 0.6791 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8942, allocations: 0 / 0.6791 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.8943, allocations: 0 / 0.6791 GB, free: 6.605 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.002273/0.8965, allocations: 1.133 MB / 0.6802 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.8966, allocations: 11.89 kB / 0.6803 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008115/0.8974, allocations: 135 kB / 0.6804 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.8983, allocations: 0.5352 MB / 0.6809 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.8984, allocations: 108.4 kB / 0.681 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.682e-05/0.8985, allocations: 48 kB / 0.6811 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.8998, allocations: 0.8058 MB / 0.6818 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.8999, allocations: 11.92 kB / 0.6818 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.051e-05/0.8999, allocations: 27.98 kB / 0.6819 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/0.9, allocations: 36.98 kB / 0.6819 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.901, allocations: 0.6127 MB / 0.6825 GB, free: 2.973 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.004462/0.9055, allocations: 3.981 MB / 0.6864 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.9061, allocations: 347.6 kB / 0.6867 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.9064, allocations: 177.3 kB / 0.6869 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/0.9069, allocations: 362 kB / 0.6872 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.9069, allocations: 42.84 kB / 0.6873 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.463e-06/0.9069, allocations: 0 / 0.6873 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.00557/0.9125, allocations: 1.662 MB / 0.6889 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002059/0.9127, allocations: 140.5 kB / 0.689 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000718/0.9135, allocations: 0.6132 MB / 0.6896 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.9135, allocations: 33.7 kB / 0.6897 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.9138, allocations: 362.9 kB / 0.69 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.914, allocations: 153.9 kB / 0.6902 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.9142, allocations: 150.5 kB / 0.6903 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.9143, allocations: 378.8 kB / 0.6907 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.9147, allocations: 197.9 kB / 0.6909 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.9153, allocations: 0.5242 MB / 0.6914 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.9162, allocations: 0.7484 MB / 0.6921 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.9162, allocations: 8 kB / 0.6921 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001363/0.9176, allocations: 0.8686 MB / 0.693 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.9176, allocations: 16.25 kB / 0.693 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.9177, allocations: 8 kB / 0.693 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.919, allocations: 314.1 kB / 0.6933 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.9194, allocations: 123.7 kB / 0.6934 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.9205, allocations: 0.9385 MB / 0.6943 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.9209, allocations: 28.06 kB / 0.6943 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-05/0.921, allocations: 71.98 kB / 0.6944 GB, free: 5.996 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.0003079/0.9213, allocations: 237.6 kB / 0.6946 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.9215, allocations: 71.19 kB / 0.6947 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.9228, allocations: 0.6816 MB / 0.6954 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.9228, allocations: 4 kB / 0.6954 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.9228, allocations: 0 / 0.6954 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.9228, allocations: 7.984 kB / 0.6954 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.9249, allocations: 1.599 MB / 0.6969 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.925, allocations: 7.875 kB / 0.6969 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.926, allocations: 211.8 kB / 0.6972 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-05/0.9261, allocations: 20.84 kB / 0.6972 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.9261, allocations: 23.92 kB / 0.6972 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.9283, allocations: 2.877 MB / 0.7 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.9284, allocations: 11.95 kB / 0.7 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.9296, allocations: 0.8012 MB / 0.7008 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.9298, allocations: 192.2 kB / 0.701 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.9299, allocations: 8 kB / 0.701 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.9303, allocations: 19.98 kB / 0.701 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-05/0.9304, allocations: 35.91 kB / 0.701 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.9305, allocations: 43.97 kB / 0.7011 GB, free: 14.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005086/0.931, allocations: 443 kB / 0.7015 GB, free: 14.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.931, allocations: 4.062 kB / 0.7015 GB, free: 14.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009702/0.932, allocations: 292 kB / 0.7018 GB, free: 13.93 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0009219/0.9329, allocations: 381 kB / 0.7022 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.9341, allocations: 0.5469 MB / 0.7027 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.9341, allocations: 4 kB / 0.7027 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009668/0.9351, allocations: 418.9 kB / 0.7031 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.9366, allocations: 366.1 kB / 0.7034 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.9387, allocations: 1.306 MB / 0.7047 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/0.9393, allocations: 0.9339 MB / 0.7056 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000726/0.94, allocations: 262 kB / 0.7059 GB, free: 9.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.9403, allocations: 95.41 kB / 0.706 GB, free: 9.574 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.9403, allocations: 0 / 0.706 GB, free: 9.574 MB / 0.545 GB Notification: Performance of Templates: time 0.03455/0.9749, allocations: 18.49 MB / 0.724 GB, free: 7.102 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/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