Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001619/0.001619, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.754e-05, allocations: 2.281 kB / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3928/0.3928, allocations: 153.8 MB / 0.5825 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007666/0.4005, allocations: 4.913 MB / 0.5873 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006363/0.4011, allocations: 23.75 kB / 0.5873 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009494/0.4021, allocations: 317.8 kB / 0.5876 GB, free: 6.547 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.4058, allocations: 1.392 MB / 0.589 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.4087, allocations: 1.092 MB / 0.59 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002652/0.4113, allocations: 1.882 MB / 0.5919 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008789/0.4122, allocations: 386.1 kB / 0.5922 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.4149, allocations: 1.355 MB / 0.5935 GB, free: 444 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.4163, allocations: 0.7283 MB / 0.5943 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.4165, allocations: 60.94 kB / 0.5943 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.4178, allocations: 0.5537 MB / 0.5949 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003564/0.4182, allocations: 287.1 kB / 0.5951 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.4186, allocations: 283.4 kB / 0.5954 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.4207, allocations: 1.391 MB / 0.5968 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4207, allocations: 0 / 0.5968 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4207, allocations: 0 / 0.5968 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.4207, allocations: 0 / 0.5968 GB, free: 13.13 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.002487/0.4232, allocations: 1.041 MB / 0.5978 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4232, allocations: 14.09 kB / 0.5978 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008904/0.4241, allocations: 135.5 kB / 0.5979 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009761/0.4251, allocations: 473.4 kB / 0.5984 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.4253, allocations: 159.7 kB / 0.5985 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.4254, allocations: 55.98 kB / 0.5986 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.427, allocations: 1.136 MB / 0.5997 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.427, allocations: 3.938 kB / 0.5997 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.834e-05/0.4271, allocations: 27.98 kB / 0.5997 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.184e-05/0.4271, allocations: 36.98 kB / 0.5998 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.4283, allocations: 0.6222 MB / 0.6004 GB, free: 9.211 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.004627/0.4329, allocations: 3.212 MB / 0.6035 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/0.4336, allocations: 347.6 kB / 0.6038 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.4339, allocations: 159.3 kB / 0.604 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.434, allocations: 16.27 kB / 0.604 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.434, allocations: 38.84 kB / 0.604 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.884e-06/0.434, allocations: 0 / 0.604 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006038/0.44, allocations: 1.589 MB / 0.6056 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.4402, allocations: 132.5 kB / 0.6057 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007434/0.4409, allocations: 0.5376 MB / 0.6062 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.441, allocations: 33.7 kB / 0.6063 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.4413, allocations: 388.2 kB / 0.6066 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.4414, allocations: 142.8 kB / 0.6068 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.4417, allocations: 158.6 kB / 0.6069 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.4419, allocations: 370.7 kB / 0.6073 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.4423, allocations: 205.9 kB / 0.6075 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007159/0.443, allocations: 0.5928 MB / 0.6081 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.4441, allocations: 0.7477 MB / 0.6088 GB, free: 28 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4441, allocations: 7.938 kB / 0.6088 GB, free: 20 kB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001701/0.4458, allocations: 0.8723 MB / 0.6096 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.4458, allocations: 12 kB / 0.6097 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.4458, allocations: 8 kB / 0.6097 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/0.4473, allocations: 306 kB / 0.61 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.4478, allocations: 127.8 kB / 0.6101 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.4491, allocations: 0.9375 MB / 0.611 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005417/0.4496, allocations: 27.98 kB / 0.611 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.4497, allocations: 73.05 kB / 0.6111 GB, free: 13.63 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.0004272/0.4502, allocations: 241.5 kB / 0.6113 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.4503, allocations: 63.58 kB / 0.6114 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.4521, allocations: 0.8615 MB / 0.6122 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4521, allocations: 4 kB / 0.6122 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4521, allocations: 3.984 kB / 0.6122 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.4521, allocations: 3.984 kB / 0.6122 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.4542, allocations: 1.087 MB / 0.6133 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4542, allocations: 4 kB / 0.6133 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.4554, allocations: 211.9 kB / 0.6135 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.4555, allocations: 28.78 kB / 0.6135 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.4555, allocations: 23.98 kB / 0.6135 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.4578, allocations: 2.612 MB / 0.6161 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4578, allocations: 0 / 0.6161 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.4594, allocations: 0.822 MB / 0.6169 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.4597, allocations: 103.6 kB / 0.617 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.4598, allocations: 8 kB / 0.617 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.4602, allocations: 28.2 kB / 0.617 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.4603, allocations: 47.88 kB / 0.6171 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.902e-05/0.4604, allocations: 39.98 kB / 0.6171 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006362/0.4611, allocations: 358.8 kB / 0.6175 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4611, allocations: 0 / 0.6175 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001328/0.4624, allocations: 255.7 kB / 0.6177 GB, free: 6.539 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.00102/0.4634, allocations: 298.6 kB / 0.618 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.4651, allocations: 0.5264 MB / 0.6185 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.4651, allocations: 3.953 kB / 0.6185 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.4663, allocations: 416 kB / 0.6189 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.468, allocations: 300.2 kB / 0.6192 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.4704, allocations: 1.228 MB / 0.6204 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.4707, allocations: 336.3 kB / 0.6207 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001033/0.4718, allocations: 442.4 kB / 0.6211 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.4721, allocations: 108.5 kB / 0.6212 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.4721, allocations: 0 / 0.6212 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of Templates: time 0.02921/0.5013, allocations: 15.66 MB / 0.6365 GB, free: 3.395 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.193226616829634]