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.001031/0.001031, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001069/0.001069, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.9924/0.9924, allocations: 177 MB / 205.2 MB, free: 5.059 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.284/0.284, allocations: 34.85 MB / 296.6 MB, free: 408 kB / 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 2.174e-06/2.174e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.804e-05, allocations: 7.047 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3565/0.3565, allocations: 148.1 MB / 474 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003572/0.3601, allocations: 2.645 MB / 476.7 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004579/0.3606, allocations: 31.78 kB / 476.7 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.3611, allocations: 208.6 kB / 476.9 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.3634, allocations: 1.185 MB / 478.1 MB, free: 16.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.3648, allocations: 0.8375 MB / 478.9 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.3667, allocations: 1.914 MB / 480.8 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005976/0.3673, allocations: 436 kB / 481.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.369, allocations: 1.241 MB / 482.5 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007402/0.3697, allocations: 0.5634 MB / 483.1 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.3699, allocations: 57.75 kB / 483.1 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008014/0.3707, allocations: 452.8 kB / 483.6 MB, free: 15.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.3709, allocations: 282.4 kB / 483.9 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.3711, allocations: 282.9 kB / 484.1 MB, free: 15.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.3723, allocations: 0.9989 MB / 485.1 MB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3723, allocations: 0 / 485.1 MB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3723, allocations: 0 / 485.1 MB, free: 15.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.3723, allocations: 0 / 485.1 MB, free: 15.56 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.001512/0.3738, allocations: 0.9716 MB / 486.1 MB, free: 15.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3738, allocations: 8.656 kB / 486.1 MB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005541/0.3744, allocations: 212.3 kB / 486.3 MB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.375, allocations: 423.5 kB / 486.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/0.375, allocations: 152.4 kB / 486.9 MB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.46e-05/0.3751, allocations: 67.33 kB / 486.9 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.3757, allocations: 0.8841 MB / 487.8 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.3757, allocations: 5.375 kB / 487.8 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/0.3758, allocations: 20.5 kB / 487.9 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/0.3758, allocations: 39.84 kB / 487.9 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.3761, allocations: 236.6 kB / 488.1 MB, free: 14.01 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.001939/0.3781, allocations: 2.641 MB / 490.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.3783, allocations: 170.1 kB / 490.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3784, allocations: 62.5 kB / 491 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.3786, allocations: 36.69 kB / 491 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3786, allocations: 43.78 kB / 491.1 MB, free: 12.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.3786, allocations: 4 kB / 491.1 MB, free: 12.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002391/0.381, allocations: 0.9188 MB / 492 MB, free: 11.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.381, allocations: 134.4 kB / 492.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.3813, allocations: 488 kB / 492.6 MB, free: 11.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.3813, allocations: 32.08 kB / 492.6 MB, free: 11.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3815, allocations: 346.3 kB / 493 MB, free: 11.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.3815, allocations: 143.7 kB / 493.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.3817, allocations: 148.9 kB / 493.3 MB, free: 11.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.3817, allocations: 373.7 kB / 493.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.161e-05/0.3818, allocations: 71.73 kB / 493.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.382, allocations: 0.4922 MB / 494.2 MB, free: 10.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.3825, allocations: 0.5263 MB / 494.7 MB, free: 9.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3825, allocations: 6 kB / 494.7 MB, free: 9.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005411/0.383, allocations: 497.2 kB / 495.2 MB, free: 9.719 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.383, allocations: 12.38 kB / 495.2 MB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.383, allocations: 10.64 kB / 495.2 MB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/0.3836, allocations: 224.5 kB / 495.4 MB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.3838, allocations: 125.6 kB / 495.6 MB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003951/0.3842, allocations: 0.6788 MB / 496.2 MB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.3845, allocations: 28.8 kB / 496.3 MB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.3845, allocations: 49.66 kB / 496.3 MB, free: 9.164 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.0001631/0.3847, allocations: 166.8 kB / 496.5 MB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.3848, allocations: 55.31 kB / 496.5 MB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007078/0.3855, allocations: 0.5845 MB / 497.1 MB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.3855, allocations: 4.875 kB / 497.1 MB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3855, allocations: 0 / 497.1 MB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3855, allocations: 3.188 kB / 497.1 MB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.3866, allocations: 0.7259 MB / 497.9 MB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3866, allocations: 2.656 kB / 497.9 MB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/0.387, allocations: 164 kB / 498 MB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-05/0.3871, allocations: 27.03 kB / 498 MB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.3871, allocations: 14.95 kB / 498.1 MB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008417/0.388, allocations: 2.407 MB / 0.4887 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.388, allocations: 2.469 kB / 0.4887 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004284/0.3884, allocations: 469.7 kB / 0.4892 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3885, allocations: 72.42 kB / 0.4893 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.3886, allocations: 8.312 kB / 0.4893 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.3888, allocations: 19.59 kB / 0.4893 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.3888, allocations: 36.64 kB / 0.4893 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.3889, allocations: 33.3 kB / 0.4893 GB, free: 5.949 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.389, allocations: 199.5 kB / 0.4895 GB, free: 5.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.389, allocations: 0 / 0.4895 GB, free: 5.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007141/0.3897, allocations: 251.8 kB / 0.4898 GB, free: 5.918 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.0004358/0.3902, allocations: 245.4 kB / 0.49 GB, free: 5.828 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.3907, allocations: 330.5 kB / 0.4903 GB, free: 5.801 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/0.3907, allocations: 8.5 kB / 0.4903 GB, free: 5.801 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.3911, allocations: 291.3 kB / 0.4906 GB, free: 5.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007506/0.3918, allocations: 323.8 kB / 0.4909 GB, free: 5.641 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3934, allocations: 1.139 MB / 0.492 GB, free: 5.004 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.108e-05/0.3935, allocations: 164.3 kB / 0.4922 GB, free: 4.891 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005217/0.394, allocations: 367.4 kB / 0.4925 GB, free: 4.715 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/0.3946, allocations: 321.6 kB / 0.4928 GB, free: 4.586 MB / 410.7 MB Notification: Performance of SimCode: time 2.144e-06/0.3946, allocations: 0 / 0.4928 GB, free: 4.586 MB / 410.7 MB Notification: Performance of Templates: time 0.01873/0.4133, allocations: 16.56 MB / 0.509 GB, free: 9.125 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] 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","",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.7272692690603435]