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.0008008/0.0008008, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 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.0009865/0.0009865, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 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 0.8961/0.8961, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] 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.1323/0.1323, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.726e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3387/0.3387, allocations: 146.4 MB / 445.6 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003868/0.3426, allocations: 2.669 MB / 448.2 MB, free: 8.664 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004421/0.343, allocations: 23.75 kB / 448.2 MB, free: 8.641 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.3436, allocations: 210.5 kB / 448.5 MB, free: 8.434 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.3461, allocations: 1.208 MB / 449.7 MB, free: 7.219 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.3476, allocations: 0.8204 MB / 450.5 MB, free: 6.398 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.3492, allocations: 1.926 MB / 452.4 MB, free: 4.465 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/0.3497, allocations: 415.9 kB / 452.8 MB, free: 4.055 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.3511, allocations: 1.219 MB / 454 MB, free: 2.832 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006337/0.3518, allocations: 0.557 MB / 454.6 MB, free: 2.273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.914e-05/0.3519, allocations: 60 kB / 454.6 MB, free: 2.215 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007234/0.3526, allocations: 0.4914 MB / 455.1 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.3528, allocations: 295.1 kB / 455.4 MB, free: 1.434 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.353, allocations: 283.4 kB / 455.7 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.354, allocations: 1.009 MB / 456.7 MB, free: 148 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3541, allocations: 0 / 456.7 MB, free: 148 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3541, allocations: 4 kB / 456.7 MB, free: 144 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.3541, allocations: 0 / 456.7 MB, free: 144 kB / 410.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.2008/0.5549, allocations: 0.9786 MB / 457.7 MB, free: 13.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5549, allocations: 10.34 kB / 457.7 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007088/0.5556, allocations: 206.1 kB / 457.9 MB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007379/0.5564, allocations: 422 kB / 458.3 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.5565, allocations: 158.1 kB / 458.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/0.5566, allocations: 59.3 kB / 458.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/0.5574, allocations: 0.9069 MB / 459.4 MB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.5574, allocations: 4.625 kB / 459.4 MB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.5575, allocations: 26.48 kB / 459.5 MB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.496e-05/0.5575, allocations: 39.55 kB / 459.5 MB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.558, allocations: 226.5 kB / 459.7 MB, free: 12.16 MB / 410.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.002239/0.5602, allocations: 2.67 MB / 462.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.5605, allocations: 165.5 kB / 462.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.5606, allocations: 67 kB / 462.6 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.5609, allocations: 127.4 kB / 462.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.5609, allocations: 38.97 kB / 462.8 MB, free: 10.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.453e-06/0.5609, allocations: 5.031 kB / 462.8 MB, free: 10.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002572/0.5635, allocations: 0.9293 MB / 463.7 MB, free: 9.848 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.5635, allocations: 133.5 kB / 463.9 MB, free: 9.691 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.5639, allocations: 491.2 kB / 464.3 MB, free: 9.539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.5639, allocations: 36.42 kB / 464.4 MB, free: 9.508 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.5641, allocations: 337.3 kB / 464.7 MB, free: 9.281 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.5642, allocations: 156.4 kB / 464.9 MB, free: 9.188 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.5643, allocations: 139.9 kB / 465 MB, free: 9.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.5644, allocations: 374.5 kB / 465.4 MB, free: 8.852 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.5645, allocations: 63.3 kB / 465.4 MB, free: 8.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.5648, allocations: 497.2 kB / 465.9 MB, free: 8.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.5653, allocations: 0.522 MB / 466.4 MB, free: 7.957 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.5653, allocations: 8.5 kB / 466.4 MB, free: 7.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006356/0.5659, allocations: 0.4921 MB / 466.9 MB, free: 7.902 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5659, allocations: 11.38 kB / 466.9 MB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.5659, allocations: 11.41 kB / 466.9 MB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000623/0.5666, allocations: 220.2 kB / 467.2 MB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.5668, allocations: 135.6 kB / 467.3 MB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004377/0.5672, allocations: 0.6747 MB / 468 MB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.5675, allocations: 29.78 kB / 468 MB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/0.5675, allocations: 52.47 kB / 468 MB, free: 7.359 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001377/0.5677, allocations: 168.3 kB / 468.2 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.5678, allocations: 48.91 kB / 468.3 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005915/0.5684, allocations: 404.2 kB / 468.7 MB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.5684, allocations: 9.094 kB / 468.7 MB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5684, allocations: 1.906 kB / 468.7 MB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5684, allocations: 3.094 kB / 468.7 MB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009109/0.5693, allocations: 0.709 MB / 469.4 MB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5693, allocations: 2.75 kB / 469.4 MB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/0.5698, allocations: 186.2 kB / 469.6 MB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.908e-05/0.5699, allocations: 24.83 kB / 469.6 MB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.5699, allocations: 10.22 kB / 469.6 MB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008104/0.5708, allocations: 2.404 MB / 472 MB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5708, allocations: 0.9375 kB / 472 MB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.5712, allocations: 423.3 kB / 472.4 MB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.5713, allocations: 75.42 kB / 472.5 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.5713, allocations: 6.531 kB / 472.5 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.5715, allocations: 18.73 kB / 472.5 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.5715, allocations: 33.84 kB / 472.5 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.5716, allocations: 29.64 kB / 472.6 MB, free: 4.316 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.5717, allocations: 205.4 kB / 472.8 MB, free: 4.297 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.5717, allocations: 0 / 472.8 MB, free: 4.297 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000548/0.5723, allocations: 252.6 kB / 473 MB, free: 4.281 MB / 410.7 MB 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 (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.000534/0.5728, allocations: 288.8 kB / 473.3 MB, free: 4.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004455/0.5732, allocations: 322.6 kB / 473.6 MB, free: 4.164 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/0.5733, allocations: 10.69 kB / 473.6 MB, free: 4.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.5736, allocations: 287.4 kB / 473.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.5743, allocations: 315.6 kB / 474.2 MB, free: 4.012 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.5758, allocations: 1.11 MB / 475.3 MB, free: 3.469 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.958e-05/0.5758, allocations: 164.4 kB / 475.5 MB, free: 3.391 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004333/0.5763, allocations: 162.3 kB / 475.6 MB, free: 3.359 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/0.5768, allocations: 307.2 kB / 475.9 MB, free: 3.309 MB / 410.7 MB Notification: Performance of SimCode: time 1.953e-06/0.5768, allocations: 2.906 kB / 475.9 MB, free: 3.309 MB / 410.7 MB Notification: Performance of Templates: time 0.01708/0.5939, allocations: 16.78 MB / 492.7 MB, free: 1.605 MB / 410.7 MB " [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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.665446254890412]