Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00115/0.00115, allocations: 84.34 kB / 21.44 MB, free: 3.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005337/0.005337, allocations: 153.5 kB / 24.69 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9178/0.9178, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2751/0.2751, allocations: 34.25 MB / 295.6 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 0 / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.59e-05/4.922e-05, allocations: 2.281 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3549/0.355, allocations: 153.8 MB / 0.5832 GB, free: 6.367 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005241/0.3602, allocations: 4.917 MB / 0.588 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004265/0.3606, allocations: 27.75 kB / 0.588 GB, free: 1.41 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007591/0.3614, allocations: 309.9 kB / 0.5883 GB, free: 1.105 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002575/0.364, allocations: 1.403 MB / 0.5897 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.3659, allocations: 1.083 MB / 0.5908 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00189/0.3678, allocations: 1.883 MB / 0.5926 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004402/0.3683, allocations: 393.6 kB / 0.593 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.3699, allocations: 1.343 MB / 0.5943 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008604/0.3707, allocations: 0.7467 MB / 0.595 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.656e-05/0.3708, allocations: 60 kB / 0.5951 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009353/0.3717, allocations: 0.5421 MB / 0.5956 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.3719, allocations: 283.1 kB / 0.5959 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.3722, allocations: 287.3 kB / 0.5961 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.3734, allocations: 1.387 MB / 0.5975 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3734, allocations: 5.25 kB / 0.5975 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3734, allocations: 0 / 0.5975 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.3735, allocations: 0 / 0.5975 GB, free: 7.699 MB / 0.4948 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.001847/0.3753, allocations: 1.034 MB / 0.5985 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3753, allocations: 12.03 kB / 0.5985 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004705/0.3758, allocations: 146.1 kB / 0.5987 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.3764, allocations: 473.4 kB / 0.5991 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.3765, allocations: 159.8 kB / 0.5993 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/0.3766, allocations: 44 kB / 0.5993 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009298/0.3775, allocations: 1.144 MB / 0.6004 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.3775, allocations: 0 / 0.6004 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.3776, allocations: 27.98 kB / 0.6005 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/0.3776, allocations: 40.98 kB / 0.6005 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/0.3784, allocations: 0.6165 MB / 0.6011 GB, free: 3.785 MB / 0.4948 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.003065/0.3814, allocations: 3.228 MB / 0.6042 GB, free: 468 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.3819, allocations: 340.9 kB / 0.6046 GB, free: 120 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.3821, allocations: 157.3 kB / 0.6047 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-05/0.3822, allocations: 16.27 kB / 0.6047 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.3822, allocations: 42.78 kB / 0.6048 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.363e-06/0.3822, allocations: 0 / 0.6048 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.003603/0.3858, allocations: 1.591 MB / 0.6063 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.3859, allocations: 136.5 kB / 0.6065 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.3863, allocations: 0.5338 MB / 0.607 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.3864, allocations: 33.7 kB / 0.607 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.3865, allocations: 384.2 kB / 0.6074 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.604e-05/0.3866, allocations: 154.7 kB / 0.6075 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.3868, allocations: 158.6 kB / 0.6077 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3869, allocations: 366.7 kB / 0.608 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.3871, allocations: 205.9 kB / 0.6082 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.3876, allocations: 0.5958 MB / 0.6088 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/0.3882, allocations: 0.7437 MB / 0.6095 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3882, allocations: 8 kB / 0.6095 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009313/0.3891, allocations: 0.8688 MB / 0.6104 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3892, allocations: 8 kB / 0.6104 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3892, allocations: 16.16 kB / 0.6104 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007523/0.3899, allocations: 307.8 kB / 0.6107 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.3902, allocations: 127.8 kB / 0.6108 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007654/0.3909, allocations: 0.9306 MB / 0.6117 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.3912, allocations: 27.98 kB / 0.6118 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/0.3913, allocations: 64 kB / 0.6118 GB, free: 8.219 MB / 0.5105 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.00058/0.3919, allocations: 245.6 kB / 0.6121 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.465e-05/0.3919, allocations: 71.52 kB / 0.6121 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.393, allocations: 0.8565 MB / 0.613 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.393, allocations: 8 kB / 0.613 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.393, allocations: 0 / 0.613 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.393, allocations: 0 / 0.613 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.3942, allocations: 1.095 MB / 0.614 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3942, allocations: 0 / 0.614 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/0.3948, allocations: 208.3 kB / 0.6142 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.963e-05/0.3948, allocations: 24.84 kB / 0.6143 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.3949, allocations: 24.12 kB / 0.6143 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.3963, allocations: 2.623 MB / 0.6168 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3963, allocations: 4.25 kB / 0.6169 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008222/0.3971, allocations: 0.8144 MB / 0.6176 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.3973, allocations: 103.5 kB / 0.6177 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.3973, allocations: 19.92 kB / 0.6178 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.3975, allocations: 13.31 kB / 0.6178 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.3976, allocations: 43.92 kB / 0.6178 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.3976, allocations: 39.98 kB / 0.6179 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003111/0.3979, allocations: 362.8 kB / 0.6182 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3979, allocations: 3.938 kB / 0.6182 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007588/0.3987, allocations: 255.7 kB / 0.6185 GB, free: 1.121 MB / 0.5105 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.0005371/0.3992, allocations: 290.8 kB / 0.6187 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.4003, allocations: 0.5317 MB / 0.6192 GB, free: 304 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4004, allocations: 7.953 kB / 0.6193 GB, free: 296 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000554/0.4009, allocations: 394.3 kB / 0.6196 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/0.4018, allocations: 311.1 kB / 0.6199 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.4035, allocations: 1.267 MB / 0.6212 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.4037, allocations: 332.3 kB / 0.6215 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.4039, allocations: 128.4 kB / 0.6216 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of SimCode: time 1.363e-06/0.4039, allocations: 0 / 0.6216 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of Templates: time 0.1979/0.6018, allocations: 16.12 MB / 0.6373 GB, free: 165.6 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 7.0859622694551945]