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.001253/0.001253, allocations: 109.4 kB / 20.43 MB, free: 1.473 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.001534/0.001534, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.637/1.637, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2507/0.2507, allocations: 46.93 MB / 360.8 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 179] 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.002024/0.002024, allocations: 63.91 kB / 0.4967 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4349/0.4369, allocations: 66.04 MB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2487/0.6856, allocations: 178 MB / 0.735 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4071/1.093, allocations: 5.375 MB / 0.7402 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007499/1.093, allocations: 29.75 kB / 0.7403 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009338/1.094, allocations: 319.5 kB / 0.7406 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004187/1.099, allocations: 1.376 MB / 0.7419 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/1.102, allocations: 1.093 MB / 0.743 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002531/1.104, allocations: 1.873 MB / 0.7448 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006166/1.105, allocations: 398.3 kB / 0.7452 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/1.107, allocations: 1.114 MB / 0.7463 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/1.109, allocations: 0.7986 MB / 0.7471 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/1.109, allocations: 61.5 kB / 0.7471 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/1.111, allocations: 0.6455 MB / 0.7478 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00027/1.111, allocations: 273.1 kB / 0.748 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000489/1.111, allocations: 395.9 kB / 0.7484 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/1.113, allocations: 1.308 MB / 0.7497 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/1.113, allocations: 1.938 kB / 0.7497 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.854e-06/1.113, allocations: 0 / 0.7497 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.177e-05/1.113, allocations: 2.312 kB / 0.7497 GB, free: 1.602 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.002311/1.115, allocations: 1.044 MB / 0.7507 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.115, allocations: 10.19 kB / 0.7507 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008087/1.116, allocations: 143.5 kB / 0.7508 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008746/1.117, allocations: 477.6 kB / 0.7513 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/1.117, allocations: 157.2 kB / 0.7514 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.54e-05/1.117, allocations: 46.88 kB / 0.7515 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/1.118, allocations: 0.8159 MB / 0.7523 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/1.118, allocations: 3.531 kB / 0.7523 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/1.119, allocations: 25.5 kB / 0.7523 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.925e-05/1.119, allocations: 40.97 kB / 0.7524 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009086/1.12, allocations: 0.62 MB / 0.753 GB, free: 16.48 MB / 0.5762 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.004492/1.124, allocations: 3.901 MB / 0.7568 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/1.125, allocations: 342.7 kB / 0.7571 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/1.125, allocations: 156.6 kB / 0.7572 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.998e-05/1.125, allocations: 13.42 kB / 0.7573 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/1.125, allocations: 49.92 kB / 0.7573 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.093e-06/1.125, allocations: 0.9688 kB / 0.7573 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005457/1.13, allocations: 1.594 MB / 0.7589 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.13, allocations: 140.9 kB / 0.759 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/1.131, allocations: 0.6096 MB / 0.7596 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/1.131, allocations: 35.73 kB / 0.7596 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/1.131, allocations: 376 kB / 0.76 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.916e-05/1.132, allocations: 154.3 kB / 0.7601 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/1.132, allocations: 156.7 kB / 0.7603 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001988/1.132, allocations: 375.2 kB / 0.7606 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/1.132, allocations: 204.8 kB / 0.7608 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/1.133, allocations: 0.5145 MB / 0.7613 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009607/1.134, allocations: 0.7544 MB / 0.7621 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.134, allocations: 3.562 kB / 0.7621 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001336/1.135, allocations: 0.8769 MB / 0.7629 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.135, allocations: 10.12 kB / 0.7629 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.135, allocations: 15.25 kB / 0.763 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/1.137, allocations: 314.1 kB / 0.7633 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/1.137, allocations: 124.6 kB / 0.7634 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/1.138, allocations: 0.933 MB / 0.7643 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/1.139, allocations: 26.44 kB / 0.7643 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.615e-05/1.139, allocations: 72.8 kB / 0.7644 GB, free: 11.09 MB / 0.5762 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.0003985/1.139, allocations: 243.5 kB / 0.7646 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/1.139, allocations: 70.14 kB / 0.7647 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/1.141, allocations: 0.8655 MB / 0.7655 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.141, allocations: 5.281 kB / 0.7655 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.141, allocations: 0 / 0.7655 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/1.141, allocations: 4.922 kB / 0.7655 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/1.143, allocations: 1.211 MB / 0.7667 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.143, allocations: 2.953 kB / 0.7667 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.144, allocations: 212.3 kB / 0.7669 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/1.144, allocations: 22.8 kB / 0.7669 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/1.144, allocations: 25.06 kB / 0.767 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/1.146, allocations: 2.671 MB / 0.7696 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.146, allocations: 4.312 kB / 0.7696 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/1.148, allocations: 0.8129 MB / 0.7704 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/1.148, allocations: 130.5 kB / 0.7705 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.148, allocations: 9.875 kB / 0.7705 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/1.148, allocations: 22.08 kB / 0.7705 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/1.148, allocations: 44.73 kB / 0.7706 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.66e-05/1.149, allocations: 41.55 kB / 0.7706 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005229/1.149, allocations: 442.2 kB / 0.771 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/1.149, allocations: 0.9375 kB / 0.771 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000992/1.15, allocations: 250.3 kB / 0.7713 GB, free: 7.598 MB / 0.5762 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.0006782/1.151, allocations: 282.8 kB / 0.7715 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001109/1.152, allocations: 0.5368 MB / 0.7721 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.152, allocations: 3.984 kB / 0.7721 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009591/1.153, allocations: 402.8 kB / 0.7725 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.154, allocations: 368 kB / 0.7728 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/1.157, allocations: 1.364 MB / 0.7741 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/1.158, allocations: 0.933 MB / 0.775 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001238/1.159, allocations: 462.6 kB / 0.7755 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/1.159, allocations: 114.2 kB / 0.7756 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of SimCode: time 1.503e-06/1.159, allocations: 0 / 0.7756 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of Templates: time 0.02977/1.189, allocations: 18.1 MB / 0.7933 GB, free: 1.41 MB / 0.5762 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/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_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: 6.813730468973517]