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.0008744/0.0008744, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001138/0.001138, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9295/0.9295, allocations: 177 MB / 204.8 MB, free: 5.605 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.2895/0.2895, allocations: 34.87 MB / 296.3 MB, free: 0.543 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 1.163e-06/1.163e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.434e-05, allocations: 4.141 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3/0.3, allocations: 148.8 MB / 0.5152 GB, free: 14.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.3034, allocations: 2.616 MB / 0.5177 GB, free: 13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004726/0.3038, allocations: 27.03 kB / 0.5178 GB, free: 12.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000625/0.3045, allocations: 208.6 kB / 0.518 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.3064, allocations: 1.182 MB / 0.5191 GB, free: 12.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.3079, allocations: 0.8399 MB / 0.5199 GB, free: 11.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.3094, allocations: 1.918 MB / 0.5218 GB, free: 10.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005037/0.3099, allocations: 429.2 kB / 0.5222 GB, free: 10.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.3114, allocations: 1.236 MB / 0.5234 GB, free: 10.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006396/0.312, allocations: 0.5931 MB / 0.524 GB, free: 9.969 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.579e-05/0.3121, allocations: 57.62 kB / 0.5241 GB, free: 9.969 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000601/0.3127, allocations: 458.7 kB / 0.5245 GB, free: 9.848 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.3129, allocations: 284.8 kB / 0.5248 GB, free: 9.711 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.3131, allocations: 286.2 kB / 0.525 GB, free: 9.602 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009192/0.3141, allocations: 0.9899 MB / 0.526 GB, free: 9.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3141, allocations: 3 kB / 0.526 GB, free: 9.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3141, allocations: 0 / 0.526 GB, free: 9.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.3141, allocations: 0 / 0.526 GB, free: 9.219 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.001297/0.3154, allocations: 1.136 MB / 0.5271 GB, free: 8.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.3154, allocations: 8.469 kB / 0.5271 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005192/0.3159, allocations: 215.2 kB / 0.5273 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.3164, allocations: 0.492 MB / 0.5278 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.3165, allocations: 153 kB / 0.528 GB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.3166, allocations: 63.05 kB / 0.528 GB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.3172, allocations: 0.9721 MB / 0.529 GB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.3172, allocations: 6.516 kB / 0.529 GB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.3173, allocations: 24.5 kB / 0.529 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.3173, allocations: 38.67 kB / 0.529 GB, free: 7.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.3177, allocations: 306.2 kB / 0.5293 GB, free: 6.977 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.002033/0.3198, allocations: 3.872 MB / 0.5331 GB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.32, allocations: 218.7 kB / 0.5333 GB, free: 3.586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3201, allocations: 81.2 kB / 0.5334 GB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-05/0.3202, allocations: 24.91 kB / 0.5334 GB, free: 3.555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.3202, allocations: 40.48 kB / 0.5335 GB, free: 3.508 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.403e-06/0.3202, allocations: 0 / 0.5335 GB, free: 3.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002438/0.3227, allocations: 1.163 MB / 0.5346 GB, free: 2.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.3227, allocations: 145 kB / 0.5347 GB, free: 2.766 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.323, allocations: 0.5508 MB / 0.5353 GB, free: 2.461 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.3231, allocations: 33.02 kB / 0.5353 GB, free: 2.426 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3232, allocations: 442.4 kB / 0.5357 GB, free: 2.055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/0.3233, allocations: 158.4 kB / 0.5359 GB, free: 1.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.3234, allocations: 166.2 kB / 0.536 GB, free: 1.844 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.3235, allocations: 0.5474 MB / 0.5366 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.3236, allocations: 89.39 kB / 0.5366 GB, free: 1.312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.3239, allocations: 0.6472 MB / 0.5373 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.3243, allocations: 0.6955 MB / 0.538 GB, free: 15.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3243, allocations: 2.688 kB / 0.538 GB, free: 15.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007202/0.325, allocations: 0.6737 MB / 0.5386 GB, free: 15.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3251, allocations: 8.969 kB / 0.5386 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3251, allocations: 11 kB / 0.5386 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006155/0.3257, allocations: 248.1 kB / 0.5389 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.3259, allocations: 138.4 kB / 0.539 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005891/0.3265, allocations: 0.9998 MB / 0.54 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.3267, allocations: 29.25 kB / 0.54 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.3268, allocations: 63.86 kB / 0.5401 GB, free: 14.67 MB / 426.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.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 (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.0001583/0.3269, allocations: 205.4 kB / 0.5403 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.14e-05/0.327, allocations: 73.22 kB / 0.5403 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000771/0.3278, allocations: 0.6953 MB / 0.541 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3278, allocations: 2.594 kB / 0.541 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3278, allocations: 7.031 kB / 0.541 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3278, allocations: 2.25 kB / 0.541 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00097/0.3287, allocations: 0.9262 MB / 0.5419 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3288, allocations: 0 / 0.5419 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.3292, allocations: 201.7 kB / 0.5421 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.771e-05/0.3293, allocations: 33.08 kB / 0.5422 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.3293, allocations: 15.88 kB / 0.5422 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.3307, allocations: 3.55 MB / 0.5456 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3307, allocations: 6.469 kB / 0.5456 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.3313, allocations: 0.6002 MB / 0.5462 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.3314, allocations: 102.4 kB / 0.5463 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.3314, allocations: 10.19 kB / 0.5463 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3316, allocations: 19.36 kB / 0.5464 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.3317, allocations: 39.64 kB / 0.5464 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.3317, allocations: 39 kB / 0.5464 GB, free: 9.492 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002372/0.332, allocations: 344.5 kB / 0.5468 GB, free: 9.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.332, allocations: 0 / 0.5468 GB, free: 9.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000496/0.3324, allocations: 252.2 kB / 0.547 GB, free: 9.285 MB / 426.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.0004218/0.3329, allocations: 259.1 kB / 0.5472 GB, free: 9.148 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005393/0.3334, allocations: 392.1 kB / 0.5476 GB, free: 9.047 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3334, allocations: 3.125 kB / 0.5476 GB, free: 9.047 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004689/0.3339, allocations: 393 kB / 0.548 GB, free: 8.832 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007557/0.3346, allocations: 323.4 kB / 0.5483 GB, free: 8.746 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.3364, allocations: 1.147 MB / 0.5494 GB, free: 7.945 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.417e-05/0.3365, allocations: 166 kB / 0.5496 GB, free: 7.824 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005272/0.3371, allocations: 425.2 kB / 0.55 GB, free: 7.613 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.3372, allocations: 98.17 kB / 0.5501 GB, free: 7.582 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3372, allocations: 3.031 kB / 0.5501 GB, free: 7.582 MB / 426.7 MB Notification: Performance of Templates: time 0.01756/0.3548, allocations: 16.4 MB / 0.5661 GB, free: 7.977 MB / 442.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.9095834060572088]