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.001359/0.001359, allocations: 107.6 kB / 21.19 MB, free: 0.6758 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.001522/0.001522, allocations: 215.1 kB / 24.48 MB, free: 3.977 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.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.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.2392/0.2392, allocations: 46.96 MB / 361.6 MB, free: 4.047 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 0.001939/0.001939, allocations: 67.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3619, allocations: 66.04 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2119/0.5738, allocations: 153.8 MB / 0.712 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008201/0.582, allocations: 4.932 MB / 0.7169 GB, free: 4.859 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007217/0.5827, allocations: 27.75 kB / 0.7169 GB, free: 4.832 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.5837, allocations: 298 kB / 0.7172 GB, free: 4.539 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.5875, allocations: 1.36 MB / 0.7185 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.5905, allocations: 1.066 MB / 0.7195 GB, free: 2.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002715/0.5932, allocations: 1.883 MB / 0.7214 GB, free: 232 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006974/0.5939, allocations: 385.6 kB / 0.7217 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.5965, allocations: 1.125 MB / 0.7228 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.5981, allocations: 0.7822 MB / 0.7236 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.5982, allocations: 60 kB / 0.7237 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.5996, allocations: 0.5696 MB / 0.7242 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.5999, allocations: 271.1 kB / 0.7245 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004313/0.6003, allocations: 334.6 kB / 0.7248 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.6023, allocations: 1.3 MB / 0.7261 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6023, allocations: 4 kB / 0.7261 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6023, allocations: 0 / 0.7261 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.6023, allocations: 0 / 0.7261 GB, free: 11.4 MB / 0.5606 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.002397/0.6047, allocations: 1.041 MB / 0.7271 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.6047, allocations: 12.03 kB / 0.7271 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008428/0.6056, allocations: 147.4 kB / 0.7272 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009982/0.6066, allocations: 477.3 kB / 0.7277 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.6067, allocations: 155.8 kB / 0.7278 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.6068, allocations: 48 kB / 0.7279 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.6084, allocations: 1.148 MB / 0.729 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.6084, allocations: 3.938 kB / 0.729 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.068e-05/0.6085, allocations: 27.98 kB / 0.729 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-05/0.6086, allocations: 48.91 kB / 0.7291 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.6096, allocations: 0.6127 MB / 0.7297 GB, free: 7.457 MB / 0.5606 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.004843/0.6145, allocations: 3.211 MB / 0.7328 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.6152, allocations: 335.6 kB / 0.7331 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.6154, allocations: 173.3 kB / 0.7333 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-05/0.6155, allocations: 8.281 kB / 0.7333 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.6156, allocations: 38.84 kB / 0.7334 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.635e-06/0.6156, allocations: 0 / 0.7334 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006096/0.6217, allocations: 1.602 MB / 0.7349 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.6218, allocations: 140.4 kB / 0.7351 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006844/0.6225, allocations: 0.53 MB / 0.7356 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.6225, allocations: 41.64 kB / 0.7356 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.6228, allocations: 388.2 kB / 0.736 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.623, allocations: 154.7 kB / 0.7361 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.6232, allocations: 154.6 kB / 0.7363 GB, free: 472 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002229/0.6235, allocations: 370.8 kB / 0.7366 GB, free: 92 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2792/0.9027, allocations: 199.8 kB / 0.7368 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007949/0.9035, allocations: 0.5888 MB / 0.7374 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.9046, allocations: 0.7507 MB / 0.7381 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.9046, allocations: 3.219 kB / 0.7381 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001948/0.9066, allocations: 0.8759 MB / 0.739 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.9066, allocations: 10.2 kB / 0.739 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.9066, allocations: 9.719 kB / 0.739 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.9082, allocations: 306.8 kB / 0.7393 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.9086, allocations: 128 kB / 0.7394 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009652/0.9095, allocations: 0.9368 MB / 0.7403 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.9101, allocations: 25.78 kB / 0.7404 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.011e-05/0.9101, allocations: 65.94 kB / 0.7404 GB, free: 173.5 MB / 0.5606 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.0003266/0.9105, allocations: 246.7 kB / 0.7407 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.9106, allocations: 62.98 kB / 0.7407 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.9121, allocations: 0.8548 MB / 0.7416 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.9121, allocations: 8.922 kB / 0.7416 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9121, allocations: 0 / 0.7416 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.9121, allocations: 2.766 kB / 0.7416 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.9139, allocations: 1.084 MB / 0.7426 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.9139, allocations: 2.344 kB / 0.7426 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.9149, allocations: 208 kB / 0.7428 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-05/0.915, allocations: 19.95 kB / 0.7428 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.915, allocations: 29.5 kB / 0.7429 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.9164, allocations: 2.621 MB / 0.7454 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9164, allocations: 11.09 kB / 0.7454 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009939/0.9173, allocations: 0.8146 MB / 0.7462 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.9176, allocations: 104.1 kB / 0.7463 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.892e-05/0.9177, allocations: 15.88 kB / 0.7464 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.9181, allocations: 22.52 kB / 0.7464 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.9181, allocations: 42.84 kB / 0.7464 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/0.9182, allocations: 43.75 kB / 0.7465 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003275/0.9185, allocations: 362.5 kB / 0.7468 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9185, allocations: 0 / 0.7468 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000889/0.9194, allocations: 251.5 kB / 0.747 GB, free: 168.2 MB / 0.5606 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.0005772/0.92, allocations: 278.7 kB / 0.7473 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.921, allocations: 0.5293 MB / 0.7478 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.921, allocations: 8 kB / 0.7478 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008438/0.9218, allocations: 395.6 kB / 0.7482 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.9231, allocations: 299.2 kB / 0.7485 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.9249, allocations: 1.378 MB / 0.7498 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.9251, allocations: 332.8 kB / 0.7502 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.9254, allocations: 129.7 kB / 0.7503 GB, free: 165 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.9254, allocations: 0 / 0.7503 GB, free: 165 MB / 0.5606 GB Notification: Performance of Templates: time 0.01613/0.9415, allocations: 16.08 MB / 0.766 GB, free: 149 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/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: 11.205033230013214]