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.001813/0.001813, allocations: 103.5 kB / 20.97 MB, free: 3.449 MB / 18.57 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.001909/0.001909, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 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.585/1.585, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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.347/0.347, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 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.723e-06/1.723e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.271e-05, allocations: 11.8 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.404/0.404, allocations: 170.8 MB / 0.5351 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008955/0.4129, allocations: 5.416 MB / 0.5404 GB, free: 13.03 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008966/0.4138, allocations: 27.19 kB / 0.5405 GB, free: 13.02 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.4151, allocations: 321.4 kB / 0.5408 GB, free: 12.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004462/0.4196, allocations: 1.384 MB / 0.5421 GB, free: 12.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.4229, allocations: 1.085 MB / 0.5432 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002776/0.4257, allocations: 1.888 MB / 0.545 GB, free: 10.68 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009761/0.4267, allocations: 419.5 kB / 0.5454 GB, free: 10.42 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.4301, allocations: 1.347 MB / 0.5467 GB, free: 9.742 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.4319, allocations: 0.7304 MB / 0.5474 GB, free: 9.344 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.432, allocations: 60.47 kB / 0.5475 GB, free: 9.344 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.4336, allocations: 0.5572 MB / 0.548 GB, free: 9.098 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.434, allocations: 288.8 kB / 0.5483 GB, free: 8.898 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004444/0.4344, allocations: 287.2 kB / 0.5486 GB, free: 8.766 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002221/0.4366, allocations: 1.398 MB / 0.55 GB, free: 7.871 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4366, allocations: 0 / 0.55 GB, free: 7.871 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4366, allocations: 0 / 0.55 GB, free: 7.871 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.4366, allocations: 0 / 0.55 GB, free: 7.871 MB / 426.7 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.003083/0.4397, allocations: 1.191 MB / 0.5511 GB, free: 6.961 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/0.4398, allocations: 8.844 kB / 0.5511 GB, free: 6.961 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.4409, allocations: 224.3 kB / 0.5513 GB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.442, allocations: 496 kB / 0.5518 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.4422, allocations: 160.6 kB / 0.552 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.4423, allocations: 53 kB / 0.552 GB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.4438, allocations: 1.113 MB / 0.5531 GB, free: 5.289 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.4438, allocations: 3.938 kB / 0.5531 GB, free: 5.285 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/0.4439, allocations: 28.83 kB / 0.5531 GB, free: 5.266 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.976e-05/0.444, allocations: 41.23 kB / 0.5532 GB, free: 5.254 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008796/0.4449, allocations: 466 kB / 0.5536 GB, free: 5.055 MB / 426.7 MB 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.005689/0.4506, allocations: 4.149 MB / 0.5577 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006258/0.4512, allocations: 304.1 kB / 0.558 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.4514, allocations: 128.2 kB / 0.5581 GB, free: 372 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.4516, allocations: 20.27 kB / 0.5581 GB, free: 352 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.4516, allocations: 41.67 kB / 0.5581 GB, free: 300 kB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.4516, allocations: 4 kB / 0.5582 GB, free: 296 kB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005667/0.4573, allocations: 1.379 MB / 0.5595 GB, free: 14.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.4574, allocations: 136.5 kB / 0.5596 GB, free: 14.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008385/0.4582, allocations: 0.6546 MB / 0.5603 GB, free: 14.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/0.4583, allocations: 33.7 kB / 0.5603 GB, free: 13.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000406/0.4587, allocations: 462.9 kB / 0.5607 GB, free: 13.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.4589, allocations: 162.8 kB / 0.5609 GB, free: 13.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.4591, allocations: 176.2 kB / 0.5611 GB, free: 13.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005577/0.4597, allocations: 0.5781 MB / 0.5616 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.46, allocations: 145.9 kB / 0.5618 GB, free: 12.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/0.4609, allocations: 0.6888 MB / 0.5624 GB, free: 11.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.462, allocations: 0.7822 MB / 0.5632 GB, free: 10.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.462, allocations: 0 / 0.5632 GB, free: 10.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001547/0.4636, allocations: 0.7856 MB / 0.564 GB, free: 9.773 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.4636, allocations: 12 kB / 0.564 GB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.4636, allocations: 8.094 kB / 0.564 GB, free: 9.754 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.465, allocations: 294.4 kB / 0.5643 GB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.4655, allocations: 115.8 kB / 0.5644 GB, free: 9.352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.4669, allocations: 1.135 MB / 0.5655 GB, free: 8.188 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.4673, allocations: 24 kB / 0.5655 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.4674, allocations: 63.98 kB / 0.5656 GB, free: 8.102 MB / 442.7 MB 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.0003834/0.4678, allocations: 256.3 kB / 0.5658 GB, free: 7.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.468, allocations: 71.62 kB / 0.5659 GB, free: 7.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.4696, allocations: 0.794 MB / 0.5667 GB, free: 6.965 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.4697, allocations: 4 kB / 0.5667 GB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4697, allocations: 4 kB / 0.5667 GB, free: 6.957 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4697, allocations: 0 / 0.5667 GB, free: 6.957 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.4719, allocations: 1.156 MB / 0.5678 GB, free: 5.727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.4719, allocations: 4 kB / 0.5678 GB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.4731, allocations: 200 kB / 0.568 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001229/0.4732, allocations: 27.67 kB / 0.568 GB, free: 5.496 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.4732, allocations: 12 kB / 0.568 GB, free: 5.484 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003063/0.4763, allocations: 3.644 MB / 0.5716 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4763, allocations: 4 kB / 0.5716 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.4777, allocations: 0.7693 MB / 0.5723 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.478, allocations: 99.58 kB / 0.5724 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.639e-05/0.4781, allocations: 26.72 kB / 0.5725 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.4785, allocations: 15.94 kB / 0.5725 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4786, allocations: 39.94 kB / 0.5725 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.351e-05/0.4786, allocations: 35.98 kB / 0.5726 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005255/0.4792, allocations: 410.7 kB / 0.5729 GB, free: 176 kB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4792, allocations: 0 / 0.5729 GB, free: 176 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009832/0.4801, allocations: 251.8 kB / 0.5732 GB, free: 15.92 MB / 458.7 MB 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 (38): * Single equations (assignments): 36 * 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.0007161/0.4809, allocations: 285.7 kB / 0.5735 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.4821, allocations: 494.6 kB / 0.5739 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4821, allocations: 0 / 0.5739 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.4831, allocations: 450.2 kB / 0.5744 GB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.4847, allocations: 320 kB / 0.5747 GB, free: 14.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.4872, allocations: 1.204 MB / 0.5758 GB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.4877, allocations: 320.3 kB / 0.5761 GB, free: 12.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001005/0.4887, allocations: 428.5 kB / 0.5766 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.489, allocations: 100.4 kB / 0.5766 GB, free: 12.29 MB / 458.7 MB Notification: Performance of SimCode: time 1.503e-06/0.489, allocations: 0 / 0.5766 GB, free: 12.29 MB / 458.7 MB Notification: Performance of Templates: time 0.02963/0.5186, allocations: 15.45 MB / 0.5917 GB, free: 13.07 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] 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: 5.967372826999053]