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.0007449/0.0007449, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.001915, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006905/0.0006905, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.00176, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9642/0.9642, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1164/1.081, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.305/0.305, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0261/0.3311, allocations: 13.11 MB / 291.5 MB, free: 7.344 MB / 282.7 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 1.172e-06/1.172e-06, allocations: 3.938 kB / 292.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.114e-05, allocations: 3.719 kB / 292.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1345/0.1345, allocations: 148.6 MB / 441.4 MB, free: 1.051 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2114/0.3459, allocations: 2.665 MB / 444.1 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006459/0.3465, allocations: 30.25 kB / 444.1 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004958/0.347, allocations: 217.9 kB / 444.3 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.3493, allocations: 1.147 MB / 445.5 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.351, allocations: 0.8161 MB / 446.3 MB, free: 3.578 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.353, allocations: 1.94 MB / 448.2 MB, free: 3.578 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006404/0.3536, allocations: 416.4 kB / 448.6 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.3557, allocations: 1.286 MB / 449.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.3568, allocations: 0.5628 MB / 450.5 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.357, allocations: 60.72 kB / 450.5 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009927/0.358, allocations: 481 kB / 451 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.3582, allocations: 237.9 kB / 451.2 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.3585, allocations: 225.9 kB / 451.5 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.3596, allocations: 0.8759 MB / 452.3 MB, free: 3.418 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.3597, allocations: 3.781 kB / 452.3 MB, free: 3.418 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3597, allocations: 0 / 452.3 MB, free: 3.418 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.487e-05/0.3597, allocations: 0.9375 kB / 452.3 MB, free: 3.418 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.001899/0.3616, allocations: 1.239 MB / 453.6 MB, free: 18.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3616, allocations: 9.406 kB / 453.6 MB, free: 18.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005667/0.3622, allocations: 213 kB / 453.8 MB, free: 18.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.3627, allocations: 415 kB / 454.2 MB, free: 18.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-05/0.3628, allocations: 158.4 kB / 454.4 MB, free: 18.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.502e-05/0.3629, allocations: 57.14 kB / 454.4 MB, free: 18.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006863/0.3636, allocations: 0.8876 MB / 455.3 MB, free: 17.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.3636, allocations: 7.094 kB / 455.3 MB, free: 17.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.328e-05/0.3637, allocations: 24.75 kB / 455.3 MB, free: 17.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.3637, allocations: 34.61 kB / 455.4 MB, free: 17.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.364, allocations: 235.8 kB / 455.6 MB, free: 17.8 MB / 442.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.002173/0.3662, allocations: 2.645 MB / 458.2 MB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.3664, allocations: 169.1 kB / 458.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.314e-05/0.3665, allocations: 63.08 kB / 458.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.3666, allocations: 42.17 kB / 458.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3667, allocations: 37.72 kB / 458.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.754e-06/0.3667, allocations: 1 kB / 458.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.002317/0.369, allocations: 0.9445 MB / 459.5 MB, free: 15.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.369, allocations: 61.44 kB / 459.6 MB, free: 15.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.3693, allocations: 482.9 kB / 460 MB, free: 15.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.3694, allocations: 36.48 kB / 460.1 MB, free: 15.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.3695, allocations: 344.6 kB / 460.4 MB, free: 15.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.3696, allocations: 152.8 kB / 460.6 MB, free: 14.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.3697, allocations: 142.7 kB / 460.7 MB, free: 14.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3698, allocations: 377.9 kB / 461.1 MB, free: 14.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.3699, allocations: 65.78 kB / 461.1 MB, free: 14.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.3702, allocations: 495.6 kB / 461.6 MB, free: 14.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.3706, allocations: 0.5623 MB / 462.2 MB, free: 13.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3706, allocations: 3.531 kB / 462.2 MB, free: 13.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005377/0.3711, allocations: 493.2 kB / 462.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3712, allocations: 13.5 kB / 462.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3712, allocations: 9.938 kB / 462.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/0.3717, allocations: 221.5 kB / 462.9 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.372, allocations: 145.2 kB / 463 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005582/0.3726, allocations: 0.6724 MB / 463.7 MB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.3729, allocations: 26.09 kB / 463.7 MB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.373, allocations: 50.42 kB / 463.8 MB, free: 13.12 MB / 442.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.0001844/0.3731, allocations: 161.5 kB / 463.9 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.3732, allocations: 51.03 kB / 464 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006297/0.3738, allocations: 0.5804 MB / 464.6 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3738, allocations: 6.094 kB / 464.6 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3738, allocations: 0 / 464.6 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3739, allocations: 3.75 kB / 464.6 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000908/0.3748, allocations: 0.7314 MB / 465.3 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3748, allocations: 0.8438 kB / 465.3 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.3753, allocations: 192.5 kB / 465.5 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.3754, allocations: 70 kB / 465.6 MB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.3756, allocations: 24.62 kB / 465.6 MB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.3756, allocations: 13.97 kB / 465.6 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.377, allocations: 2.408 MB / 468 MB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.377, allocations: 2.344 kB / 468 MB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.3774, allocations: 471 kB / 468.5 MB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.3775, allocations: 10.06 kB / 468.5 MB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.3776, allocations: 14.31 kB / 468.5 MB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.3777, allocations: 36.98 kB / 468.5 MB, free: 9.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.3777, allocations: 30.81 kB / 468.6 MB, free: 9.926 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.3779, allocations: 206.7 kB / 468.8 MB, free: 9.906 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3779, allocations: 0 / 468.8 MB, free: 9.906 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000655/0.3785, allocations: 243.6 kB / 469 MB, free: 9.891 MB / 442.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.0004368/0.379, allocations: 240.8 kB / 469.2 MB, free: 9.809 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005579/0.3795, allocations: 330.4 kB / 469.6 MB, free: 9.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.908e-05/0.3796, allocations: 16.16 kB / 469.6 MB, free: 9.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.38, allocations: 321 kB / 469.9 MB, free: 9.637 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.3813, allocations: 1.845 MB / 471.7 MB, free: 7.898 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007349/0.3886, allocations: 1.142 MB / 472.9 MB, free: 7.328 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.3887, allocations: 163.2 kB / 473 MB, free: 7.254 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006319/0.3894, allocations: 317.1 kB / 473.4 MB, free: 7.215 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/0.3899, allocations: 320.1 kB / 473.7 MB, free: 7.156 MB / 442.7 MB Notification: Performance of SimCode: time 2.084e-06/0.3899, allocations: 0 / 473.7 MB, free: 7.156 MB / 442.7 MB Notification: Performance of Templates: time 0.01905/0.409, allocations: 16.46 MB / 490.1 MB, free: 4.672 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7258178452029824]