Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001206/0.001206, allocations: 80.8 kB / 21.5 MB, free: 2.984 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.001244/0.001244, allocations: 174.3 kB / 24.91 MB, free: 9.156 MB / 18.57 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.9595/0.9595, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2718/0.2718, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.122e-05, allocations: 4.844 kB / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3314/0.3314, allocations: 148.1 MB / 471.4 MB, free: 16.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00414/0.3356, allocations: 2.641 MB / 474 MB, free: 16.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009498/0.3365, allocations: 31.22 kB / 474 MB, free: 16.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006723/0.3372, allocations: 211.9 kB / 474.2 MB, free: 16.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.3403, allocations: 1.182 MB / 475.4 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.342, allocations: 0.8379 MB / 476.3 MB, free: 16.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002269/0.3443, allocations: 1.92 MB / 478.2 MB, free: 16.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007114/0.345, allocations: 420.7 kB / 478.6 MB, free: 16.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.3472, allocations: 1.25 MB / 479.8 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007903/0.348, allocations: 0.5596 MB / 480.4 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.3481, allocations: 57.94 kB / 480.4 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008609/0.349, allocations: 448.8 kB / 480.9 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.3492, allocations: 286.1 kB / 481.2 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.3496, allocations: 283.1 kB / 481.4 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.3508, allocations: 0.9959 MB / 482.4 MB, free: 16.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3508, allocations: 0 / 482.4 MB, free: 16.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3508, allocations: 0 / 482.4 MB, free: 16.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.459e-05/0.3508, allocations: 2.625 kB / 482.4 MB, free: 16.07 MB / 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.001445/0.3523, allocations: 0.9763 MB / 483.4 MB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.3523, allocations: 12 kB / 483.4 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000527/0.3528, allocations: 206 kB / 483.6 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.3534, allocations: 421.7 kB / 484 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.806e-05/0.3534, allocations: 154.2 kB / 484.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.3535, allocations: 62.66 kB / 484.3 MB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00055/0.3541, allocations: 0.8852 MB / 485.1 MB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.3541, allocations: 2.156 kB / 485.1 MB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.3541, allocations: 32 kB / 485.2 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/0.3542, allocations: 42.03 kB / 485.2 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.3545, allocations: 221.3 kB / 485.4 MB, free: 14.52 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.001842/0.3563, allocations: 2.646 MB / 488.1 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.3565, allocations: 174.4 kB / 488.2 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.427e-05/0.3566, allocations: 62.41 kB / 488.3 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.3567, allocations: 36.25 kB / 488.3 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.3568, allocations: 41.91 kB / 488.4 MB, free: 12.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.3568, allocations: 0 / 488.4 MB, free: 12.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002283/0.359, allocations: 0.9383 MB / 489.3 MB, free: 12.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.3591, allocations: 131.5 kB / 489.4 MB, free: 12.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.3593, allocations: 490.9 kB / 489.9 MB, free: 11.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.3594, allocations: 37.8 kB / 490 MB, free: 11.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3595, allocations: 340.3 kB / 490.3 MB, free: 11.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.3596, allocations: 146.6 kB / 490.4 MB, free: 11.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.3597, allocations: 140.1 kB / 490.6 MB, free: 11.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.3597, allocations: 382.7 kB / 491 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.21e-05/0.3598, allocations: 66.64 kB / 491 MB, free: 11.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.36, allocations: 499 kB / 491.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.3604, allocations: 0.5295 MB / 492 MB, free: 10.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3604, allocations: 2.906 kB / 492 MB, free: 10.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005548/0.361, allocations: 0.4937 MB / 492.5 MB, free: 10.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.361, allocations: 9.75 kB / 492.5 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.361, allocations: 10.94 kB / 492.5 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005624/0.3616, allocations: 224.8 kB / 492.8 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.3618, allocations: 127 kB / 492.9 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003815/0.3622, allocations: 0.6767 MB / 493.6 MB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.3624, allocations: 26.66 kB / 493.6 MB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.3625, allocations: 53.33 kB / 493.6 MB, free: 9.656 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.0001611/0.3626, allocations: 168.3 kB / 493.8 MB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.3627, allocations: 47.98 kB / 493.9 MB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006179/0.3633, allocations: 0.5793 MB / 494.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.3633, allocations: 2.75 kB / 494.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.3633, allocations: 0 / 494.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3633, allocations: 4.812 kB / 494.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008626/0.3642, allocations: 0.7305 MB / 495.2 MB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3642, allocations: 6.625 kB / 495.2 MB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.3646, allocations: 164.1 kB / 495.3 MB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.701e-05/0.3647, allocations: 16.14 kB / 495.4 MB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.3647, allocations: 17.75 kB / 495.4 MB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000754/0.3655, allocations: 2.411 MB / 497.8 MB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3655, allocations: 6.719 kB / 497.8 MB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.3659, allocations: 474.5 kB / 498.3 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.366, allocations: 70.75 kB / 498.3 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.366, allocations: 12.31 kB / 498.3 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.3662, allocations: 12.58 kB / 498.4 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.3663, allocations: 43.42 kB / 498.4 MB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.3663, allocations: 26.02 kB / 498.4 MB, free: 6.438 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001558/0.3664, allocations: 202.4 kB / 498.6 MB, free: 6.418 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3664, allocations: 0 / 498.6 MB, free: 6.418 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006439/0.3671, allocations: 249.8 kB / 498.9 MB, free: 6.406 MB / 410.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.0004037/0.3675, allocations: 244.4 kB / 499.1 MB, free: 6.316 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004777/0.368, allocations: 325.8 kB / 499.4 MB, free: 6.293 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/0.368, allocations: 12.06 kB / 499.4 MB, free: 6.293 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.3684, allocations: 291.9 kB / 499.7 MB, free: 6.168 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.3691, allocations: 321.5 kB / 0.4883 GB, free: 6.129 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.3705, allocations: 1.134 MB / 0.4894 GB, free: 5.527 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.468e-05/0.3706, allocations: 164.9 kB / 0.4896 GB, free: 5.449 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005117/0.3711, allocations: 362.4 kB / 0.4899 GB, free: 5.379 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/0.3716, allocations: 323.5 kB / 0.4902 GB, free: 5.312 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.3716, allocations: 0 / 0.4902 GB, free: 5.312 MB / 410.7 MB Notification: Performance of Templates: time 0.01884/0.3905, allocations: 16.56 MB / 0.5064 GB, free: 10.59 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.6595796700567007]