Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001383/0.001383, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001474/0.001474, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.42/1.42, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1989/0.1989, allocations: 32.81 MB / 293.5 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.269e-05, allocations: 2.281 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.394/0.394, allocations: 153.8 MB / 0.58 GB, free: 144 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007541/0.4015, allocations: 4.914 MB / 0.5848 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005486/0.4021, allocations: 31.69 kB / 0.5848 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009251/0.403, allocations: 309.8 kB / 0.5851 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.4064, allocations: 1.402 MB / 0.5865 GB, free: 9.477 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.4091, allocations: 1.089 MB / 0.5875 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002407/0.4116, allocations: 1.879 MB / 0.5894 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007218/0.4123, allocations: 390.1 kB / 0.5897 GB, free: 6.125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.4149, allocations: 1.347 MB / 0.591 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.4164, allocations: 0.736 MB / 0.5918 GB, free: 4.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.4166, allocations: 60 kB / 0.5918 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.4178, allocations: 0.5527 MB / 0.5924 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003584/0.4182, allocations: 287.1 kB / 0.5926 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.4186, allocations: 283.3 kB / 0.5929 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.4206, allocations: 1.395 MB / 0.5943 GB, free: 1.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4206, allocations: 0 / 0.5943 GB, free: 1.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4206, allocations: 0 / 0.5943 GB, free: 1.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.4207, allocations: 1.5 kB / 0.5943 GB, free: 1.469 MB / 494.1 MB 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.002311/0.423, allocations: 1.037 MB / 0.5953 GB, free: 404 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.423, allocations: 15.97 kB / 0.5953 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008476/0.4238, allocations: 135.5 kB / 0.5954 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000892/0.4247, allocations: 469.7 kB / 0.5959 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.4249, allocations: 163.5 kB / 0.596 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/0.425, allocations: 47.98 kB / 0.5961 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.4265, allocations: 1.144 MB / 0.5972 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.4265, allocations: 7.922 kB / 0.5972 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.4266, allocations: 23.98 kB / 0.5972 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.668e-05/0.4267, allocations: 36.98 kB / 0.5973 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.4278, allocations: 0.6127 MB / 0.5979 GB, free: 13.55 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.004382/0.4322, allocations: 3.219 MB / 0.601 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.4328, allocations: 350.8 kB / 0.6013 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.4331, allocations: 158.8 kB / 0.6015 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.291e-05/0.4332, allocations: 12.28 kB / 0.6015 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.4332, allocations: 42.83 kB / 0.6015 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.543e-06/0.4332, allocations: 0 / 0.6015 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.005673/0.4389, allocations: 1.594 MB / 0.6031 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/0.439, allocations: 132.5 kB / 0.6032 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/0.4396, allocations: 0.5338 MB / 0.6037 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.4396, allocations: 33.7 kB / 0.6038 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.4399, allocations: 388.2 kB / 0.6041 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.4401, allocations: 142.8 kB / 0.6043 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.4403, allocations: 158.6 kB / 0.6044 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.4405, allocations: 366.7 kB / 0.6048 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.4409, allocations: 205.9 kB / 0.605 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.4416, allocations: 0.5958 MB / 0.6056 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.4428, allocations: 0.7525 MB / 0.6063 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.4428, allocations: 6.062 kB / 0.6063 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001633/0.4444, allocations: 0.8723 MB / 0.6071 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4444, allocations: 8 kB / 0.6072 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.4445, allocations: 12 kB / 0.6072 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.4459, allocations: 312.9 kB / 0.6075 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.4463, allocations: 119.8 kB / 0.6076 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.4477, allocations: 0.9387 MB / 0.6085 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.4482, allocations: 27.98 kB / 0.6085 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.4483, allocations: 64 kB / 0.6086 GB, free: 1.965 MB / 0.4981 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.0003735/0.4486, allocations: 249.5 kB / 0.6088 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.4488, allocations: 63.62 kB / 0.6089 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.4505, allocations: 0.8549 MB / 0.6097 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.4506, allocations: 8 kB / 0.6097 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.4506, allocations: 3.984 kB / 0.6097 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4506, allocations: 0 / 0.6097 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.4527, allocations: 1.095 MB / 0.6108 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4527, allocations: 0 / 0.6108 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.4539, allocations: 215.9 kB / 0.611 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.592e-05/0.454, allocations: 24.83 kB / 0.611 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/0.454, allocations: 20 kB / 0.611 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002434/0.4565, allocations: 2.629 MB / 0.6136 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4565, allocations: 7.875 kB / 0.6136 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.4579, allocations: 0.8102 MB / 0.6144 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.4581, allocations: 99.58 kB / 0.6145 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.4582, allocations: 19.92 kB / 0.6145 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.4586, allocations: 12.22 kB / 0.6145 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.4587, allocations: 43.94 kB / 0.6146 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/0.4588, allocations: 39.98 kB / 0.6146 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004707/0.4593, allocations: 362.8 kB / 0.615 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4593, allocations: 0 / 0.615 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009035/0.4602, allocations: 255.7 kB / 0.6152 GB, free: 10.86 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.0007705/0.461, allocations: 293.8 kB / 0.6155 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.4622, allocations: 0.5305 MB / 0.616 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4622, allocations: 0 / 0.616 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.4633, allocations: 411.8 kB / 0.6164 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.4648, allocations: 307.8 kB / 0.6167 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.467, allocations: 1.237 MB / 0.6179 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4674, allocations: 340.2 kB / 0.6182 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009773/0.4684, allocations: 449.2 kB / 0.6187 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/0.4687, allocations: 108.5 kB / 0.6188 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of SimCode: time 7.92e-07/0.4687, allocations: 0 / 0.6188 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of Templates: time 0.02662/0.4953, allocations: 15.65 MB / 0.634 GB, free: 7.738 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.635172210633755]