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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 215.6 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2525/0.2525, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002552/0.002552, allocations: 71.91 kB / 468 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1465, allocations: 61.03 MB / 0.5167 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5708/0.7173, allocations: 155.6 MB / 0.6686 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008974/0.7263, allocations: 5.288 MB / 0.6738 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008479/0.7272, allocations: 23.75 kB / 0.6738 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.7282, allocations: 310 kB / 0.6741 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004935/0.7332, allocations: 1.608 MB / 0.6757 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.7369, allocations: 1.236 MB / 0.6769 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00291/0.7398, allocations: 1.872 MB / 0.6787 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007397/0.7406, allocations: 397.6 kB / 0.6791 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003385/0.744, allocations: 1.273 MB / 0.6803 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.7454, allocations: 0.7549 MB / 0.6811 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.7456, allocations: 60 kB / 0.6811 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.7477, allocations: 0.745 MB / 0.6819 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000366/0.748, allocations: 275.1 kB / 0.6821 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004614/0.7485, allocations: 330.7 kB / 0.6824 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.7507, allocations: 1.429 MB / 0.6838 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.7507, allocations: 0 / 0.6838 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7507, allocations: 0 / 0.6838 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.7507, allocations: 0 / 0.6838 GB, free: 6.676 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.002511/0.7532, allocations: 1.084 MB / 0.6849 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.7532, allocations: 8.031 kB / 0.6849 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008083/0.754, allocations: 135.5 kB / 0.685 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.7551, allocations: 485.4 kB / 0.6855 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.7553, allocations: 155.8 kB / 0.6856 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.7554, allocations: 48 kB / 0.6857 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.7569, allocations: 1.173 MB / 0.6868 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.757, allocations: 4 kB / 0.6868 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-05/0.757, allocations: 16 kB / 0.6868 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-05/0.7571, allocations: 44.92 kB / 0.6869 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.7582, allocations: 0.6165 MB / 0.6875 GB, free: 2.684 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.004639/0.7628, allocations: 3.232 MB / 0.6906 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.7634, allocations: 343.6 kB / 0.691 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.7637, allocations: 157.3 kB / 0.6911 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/0.7641, allocations: 138.1 kB / 0.6913 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.7641, allocations: 40.16 kB / 0.6913 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.675e-06/0.7641, allocations: 4 kB / 0.6913 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005805/0.7699, allocations: 1.59 MB / 0.6928 GB, free: 13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.77, allocations: 136.5 kB / 0.693 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006574/0.7707, allocations: 0.5299 MB / 0.6935 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.7707, allocations: 29.7 kB / 0.6935 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.771, allocations: 392.2 kB / 0.6939 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.7712, allocations: 154.7 kB / 0.694 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.7714, allocations: 154.6 kB / 0.6942 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.7716, allocations: 370.7 kB / 0.6945 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.772, allocations: 209.8 kB / 0.6947 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/0.7727, allocations: 0.5839 MB / 0.6953 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.7737, allocations: 0.7561 MB / 0.6961 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.7737, allocations: 4 kB / 0.6961 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0015/0.7752, allocations: 0.8607 MB / 0.6969 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.7752, allocations: 8 kB / 0.6969 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.7753, allocations: 12 kB / 0.6969 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.7766, allocations: 320 kB / 0.6972 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.777, allocations: 123.8 kB / 0.6973 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.7782, allocations: 0.9304 MB / 0.6982 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.7787, allocations: 31.98 kB / 0.6983 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.291e-05/0.7788, allocations: 63.98 kB / 0.6983 GB, free: 6.973 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.0003654/0.7791, allocations: 245.5 kB / 0.6986 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.7793, allocations: 67.56 kB / 0.6986 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.7806, allocations: 0.67 MB / 0.6993 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.7807, allocations: 4 kB / 0.6993 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.7807, allocations: 3.938 kB / 0.6993 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.7807, allocations: 3.984 kB / 0.6993 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.7828, allocations: 1.161 MB / 0.7004 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.7828, allocations: 3.938 kB / 0.7004 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.7839, allocations: 211.9 kB / 0.7006 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.431e-05/0.7839, allocations: 20.84 kB / 0.7007 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.784, allocations: 27.92 kB / 0.7007 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.7862, allocations: 2.621 MB / 0.7032 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7862, allocations: 0 / 0.7032 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.7875, allocations: 0.8026 MB / 0.704 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.7878, allocations: 115.5 kB / 0.7041 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.7879, allocations: 11.94 kB / 0.7042 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.7883, allocations: 20.3 kB / 0.7042 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.7884, allocations: 43.94 kB / 0.7042 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-05/0.7884, allocations: 39.98 kB / 0.7043 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004595/0.7889, allocations: 358.8 kB / 0.7046 GB, free: 260 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7889, allocations: 0 / 0.7046 GB, free: 260 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001113/0.79, allocations: 291.7 kB / 0.7049 GB, free: 15.96 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.0009727/0.791, allocations: 390.2 kB / 0.7052 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.7922, allocations: 0.5274 MB / 0.7058 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7922, allocations: 0 / 0.7058 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.7932, allocations: 402.3 kB / 0.7061 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.7947, allocations: 296.2 kB / 0.7064 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.797, allocations: 1.304 MB / 0.7077 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.7973, allocations: 332.3 kB / 0.708 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007543/0.7981, allocations: 253.3 kB / 0.7083 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.7984, allocations: 99.41 kB / 0.7084 GB, free: 12.32 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.7984, allocations: 0 / 0.7084 GB, free: 12.32 MB / 0.545 GB Notification: Performance of Templates: time 0.03108/0.8294, allocations: 17.65 MB / 0.7256 GB, free: 10.71 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.584070282056928]