Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001818/0.001818, allocations: 85.98 kB / 20.68 MB, free: 1.035 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.001911/0.001911, allocations: 165.5 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2121/0.2121, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.708e-05, allocations: 2.281 kB / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4032/0.4033, allocations: 153.8 MB / 0.5825 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008816/0.4121, allocations: 4.906 MB / 0.5873 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006396/0.4127, allocations: 31.69 kB / 0.5873 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.4137, allocations: 313.8 kB / 0.5876 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003973/0.4177, allocations: 1.391 MB / 0.589 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.4209, allocations: 1.092 MB / 0.59 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002787/0.4236, allocations: 1.887 MB / 0.5919 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007517/0.4244, allocations: 386.1 kB / 0.5922 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.4273, allocations: 1.347 MB / 0.5936 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.4287, allocations: 0.7321 MB / 0.5943 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.4289, allocations: 60 kB / 0.5943 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.4302, allocations: 0.5615 MB / 0.5949 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003482/0.4306, allocations: 283.1 kB / 0.5952 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004244/0.431, allocations: 279.4 kB / 0.5954 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.4333, allocations: 1.387 MB / 0.5968 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.4333, allocations: 8 kB / 0.5968 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4333, allocations: 0 / 0.5968 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.4333, allocations: 0 / 0.5968 GB, free: 13.31 MB / 0.4981 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.4358, allocations: 1.045 MB / 0.5978 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4358, allocations: 8.031 kB / 0.5978 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009083/0.4367, allocations: 139.5 kB / 0.5979 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009593/0.4377, allocations: 469.4 kB / 0.5984 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.4379, allocations: 163.7 kB / 0.5985 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.438, allocations: 44 kB / 0.5986 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.4396, allocations: 1.144 MB / 0.5997 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.4397, allocations: 8.766 kB / 0.5997 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/0.4398, allocations: 24 kB / 0.5997 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.435e-05/0.4398, allocations: 40.97 kB / 0.5998 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.441, allocations: 0.6127 MB / 0.6004 GB, free: 9.383 MB / 0.4981 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.004834/0.4458, allocations: 3.216 MB / 0.6035 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007034/0.4465, allocations: 347 kB / 0.6038 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.4468, allocations: 161.3 kB / 0.604 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.986e-05/0.4469, allocations: 14.44 kB / 0.604 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.447, allocations: 38.84 kB / 0.604 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.224e-06/0.447, allocations: 0 / 0.604 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006328/0.4533, allocations: 1.595 MB / 0.6056 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.4534, allocations: 132.5 kB / 0.6057 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007263/0.4541, allocations: 0.5338 MB / 0.6063 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.4542, allocations: 33.7 kB / 0.6063 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.4545, allocations: 384.2 kB / 0.6067 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.4547, allocations: 150.7 kB / 0.6068 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.4549, allocations: 158.6 kB / 0.6069 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4551, allocations: 366.7 kB / 0.6073 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/0.4555, allocations: 208.2 kB / 0.6075 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007307/0.4563, allocations: 0.5958 MB / 0.6081 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.4574, allocations: 0.7438 MB / 0.6088 GB, free: 204 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.4574, allocations: 4 kB / 0.6088 GB, free: 200 kB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001672/0.4591, allocations: 0.8763 MB / 0.6097 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4591, allocations: 11.94 kB / 0.6097 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.4591, allocations: 12 kB / 0.6097 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.4606, allocations: 308.8 kB / 0.61 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.461, allocations: 119.8 kB / 0.6101 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.4623, allocations: 0.9386 MB / 0.611 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.4628, allocations: 27.94 kB / 0.611 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.4629, allocations: 72.03 kB / 0.6111 GB, free: 13.8 MB / 0.5137 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.0003819/0.4632, allocations: 245.5 kB / 0.6113 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.4634, allocations: 67.58 kB / 0.6114 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.4651, allocations: 0.8508 MB / 0.6122 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.4651, allocations: 4 kB / 0.6122 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4651, allocations: 8 kB / 0.6122 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4651, allocations: 3.984 kB / 0.6123 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.4672, allocations: 1.087 MB / 0.6133 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4672, allocations: 0 / 0.6133 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.4683, allocations: 212 kB / 0.6135 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.192e-05/0.4684, allocations: 28.78 kB / 0.6135 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/0.4685, allocations: 23.98 kB / 0.6136 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/0.4709, allocations: 2.625 MB / 0.6161 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4709, allocations: 3.938 kB / 0.6161 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.4723, allocations: 0.818 MB / 0.6169 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.4726, allocations: 99.58 kB / 0.617 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.573e-05/0.4727, allocations: 8 kB / 0.617 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.4731, allocations: 23.92 kB / 0.6171 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.4732, allocations: 35.94 kB / 0.6171 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.348e-05/0.4733, allocations: 48.17 kB / 0.6171 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000492/0.4737, allocations: 362.8 kB / 0.6175 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4737, allocations: 0 / 0.6175 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009553/0.4747, allocations: 255.7 kB / 0.6177 GB, free: 6.699 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0007208/0.4754, allocations: 291.9 kB / 0.618 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.4766, allocations: 0.5311 MB / 0.6185 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4766, allocations: 3.953 kB / 0.6185 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.4777, allocations: 403.2 kB / 0.6189 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.4792, allocations: 313.8 kB / 0.6192 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.4814, allocations: 1.241 MB / 0.6204 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.4818, allocations: 332.3 kB / 0.6207 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009863/0.4828, allocations: 448.8 kB / 0.6212 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/0.4831, allocations: 108.5 kB / 0.6213 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of SimCode: time 6.72e-07/0.4831, allocations: 0 / 0.6213 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of Templates: time 0.02852/0.5116, allocations: 15.65 MB / 0.6366 GB, free: 3.578 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.085052032023668]