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.001751/0.001751, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002187/0.002187, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.566/1.566, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.248/0.248, allocations: 46.93 MB / 357.1 MB, free: 10.31 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.002028/0.002028, allocations: 60.09 kB / 0.4914 GB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1609, allocations: 65.99 MB / 0.5559 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.6391/0.8, allocations: 177.8 MB / 0.7295 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009371/0.8094, allocations: 5.359 MB / 0.7347 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009253/0.8103, allocations: 27.75 kB / 0.7348 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.8116, allocations: 321.9 kB / 0.7351 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00444/0.816, allocations: 1.362 MB / 0.7364 GB, free: 8.133 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.8194, allocations: 1.059 MB / 0.7374 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003137/0.8225, allocations: 1.852 MB / 0.7392 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.8236, allocations: 413.4 kB / 0.7396 GB, free: 4.816 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.8266, allocations: 1.106 MB / 0.7407 GB, free: 3.707 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.8285, allocations: 0.7978 MB / 0.7415 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003058/0.8288, allocations: 60 kB / 0.7415 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.8308, allocations: 0.6372 MB / 0.7422 GB, free: 2.211 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004904/0.8313, allocations: 271.1 kB / 0.7424 GB, free: 1.945 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006551/0.8319, allocations: 398.2 kB / 0.7428 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.8343, allocations: 1.304 MB / 0.7441 GB, free: 252 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8343, allocations: 0 / 0.7441 GB, free: 252 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8343, allocations: 0 / 0.7441 GB, free: 252 kB / 0.545 GB Notification: Performance of Transformations before backend: time 2.227e-05/0.8343, allocations: 4 kB / 0.7441 GB, free: 248 kB / 0.545 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.00252/0.8368, allocations: 1.121 MB / 0.7452 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.8369, allocations: 8.031 kB / 0.7452 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000905/0.8378, allocations: 137.2 kB / 0.7453 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009779/0.8388, allocations: 0.5357 MB / 0.7458 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.8389, allocations: 104.4 kB / 0.7459 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.839, allocations: 48 kB / 0.746 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.8404, allocations: 0.8136 MB / 0.7468 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.8405, allocations: 3.938 kB / 0.7468 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/0.8405, allocations: 27.94 kB / 0.7468 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.946e-05/0.8406, allocations: 40.97 kB / 0.7469 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.8419, allocations: 0.6204 MB / 0.7475 GB, free: 12.61 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.005365/0.8472, allocations: 3.94 MB / 0.7513 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006733/0.8479, allocations: 343.2 kB / 0.7516 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.8482, allocations: 165.8 kB / 0.7518 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.8484, allocations: 93.36 kB / 0.7519 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.947e-05/0.8484, allocations: 38.84 kB / 0.7519 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.8484, allocations: 0 / 0.7519 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006587/0.855, allocations: 1.684 MB / 0.7536 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.8551, allocations: 140.4 kB / 0.7537 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008725/0.856, allocations: 0.6133 MB / 0.7543 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.856, allocations: 33.7 kB / 0.7543 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.8564, allocations: 375.8 kB / 0.7547 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.8565, allocations: 150.7 kB / 0.7548 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.8568, allocations: 158.6 kB / 0.755 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.857, allocations: 374.8 kB / 0.7553 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/0.8574, allocations: 201.9 kB / 0.7555 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/0.8581, allocations: 0.5125 MB / 0.756 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.8592, allocations: 0.7555 MB / 0.7568 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.8593, allocations: 0 / 0.7568 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001743/0.861, allocations: 0.8759 MB / 0.7576 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.861, allocations: 12 kB / 0.7576 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.861, allocations: 8 kB / 0.7576 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/0.8627, allocations: 313.2 kB / 0.7579 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.8632, allocations: 123.8 kB / 0.7581 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.8647, allocations: 0.9401 MB / 0.759 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007553/0.8655, allocations: 27.98 kB / 0.759 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.8656, allocations: 64.05 kB / 0.7591 GB, free: 15.97 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.0006141/0.8663, allocations: 249.5 kB / 0.7593 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.8664, allocations: 75.52 kB / 0.7594 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.8683, allocations: 0.8693 MB / 0.7602 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.8683, allocations: 4 kB / 0.7602 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.8683, allocations: 0 / 0.7602 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.8683, allocations: 0 / 0.7602 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/0.8709, allocations: 1.461 MB / 0.7617 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8709, allocations: 7.938 kB / 0.7617 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.872, allocations: 207.8 kB / 0.7619 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.8721, allocations: 28.78 kB / 0.7619 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.8722, allocations: 16.88 kB / 0.7619 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/0.8749, allocations: 2.882 MB / 0.7647 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.8749, allocations: 0 / 0.7647 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.8764, allocations: 0.8269 MB / 0.7655 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/0.8768, allocations: 188.6 kB / 0.7657 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.8769, allocations: 8 kB / 0.7657 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/0.8773, allocations: 23.92 kB / 0.7657 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.8774, allocations: 39.89 kB / 0.7658 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/0.8775, allocations: 44.05 kB / 0.7658 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007113/0.8782, allocations: 447 kB / 0.7662 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8782, allocations: 0 / 0.7662 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001104/0.8793, allocations: 251.8 kB / 0.7665 GB, free: 7.887 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.0007572/0.88, allocations: 275.1 kB / 0.7667 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.8814, allocations: 0.5419 MB / 0.7673 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8814, allocations: 7.938 kB / 0.7673 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.8826, allocations: 411.5 kB / 0.7677 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.8844, allocations: 376.1 kB / 0.768 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.887, allocations: 1.335 MB / 0.7693 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/0.8877, allocations: 0.9377 MB / 0.7703 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001074/0.8887, allocations: 458.4 kB / 0.7707 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.8891, allocations: 111.4 kB / 0.7708 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.8891, allocations: 0 / 0.7708 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of Templates: time 0.04217/0.9312, allocations: 17.7 MB / 0.7881 GB, free: 1.836 MB / 0.5919 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.725469533354044]