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.001085/0.001085, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001194/0.001194, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.9615/0.9615, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.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.3168/0.3168, allocations: 34.26 MB / 295.7 MB, free: 0.7188 MB / 266.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 2.375e-06/2.375e-06, allocations: 0 / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.08e-05, allocations: 4.703 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3085/0.3085, allocations: 148.8 MB / 0.5145 GB, free: 15.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003396/0.3119, allocations: 2.611 MB / 0.517 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.3122, allocations: 27.62 kB / 0.517 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.3128, allocations: 212.5 kB / 0.5173 GB, free: 13.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.3148, allocations: 1.181 MB / 0.5184 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3161, allocations: 0.8344 MB / 0.5192 GB, free: 12.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.3175, allocations: 1.92 MB / 0.5211 GB, free: 11.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004992/0.318, allocations: 422.6 kB / 0.5215 GB, free: 11.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.3192, allocations: 1.061 MB / 0.5225 GB, free: 10.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009008/0.3201, allocations: 0.7292 MB / 0.5232 GB, free: 10.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.3202, allocations: 60.28 kB / 0.5233 GB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.3208, allocations: 447 kB / 0.5237 GB, free: 10.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.3211, allocations: 301.1 kB / 0.524 GB, free: 10.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.3213, allocations: 278.4 kB / 0.5243 GB, free: 10.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.3223, allocations: 1.006 MB / 0.5253 GB, free: 9.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3223, allocations: 0 / 0.5253 GB, free: 9.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3223, allocations: 0 / 0.5253 GB, free: 9.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.3223, allocations: 0 / 0.5253 GB, free: 9.875 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.001405/0.3237, allocations: 1.134 MB / 0.5264 GB, free: 9.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3238, allocations: 8.875 kB / 0.5264 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005563/0.3243, allocations: 223.1 kB / 0.5266 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.3249, allocations: 493.1 kB / 0.5271 GB, free: 8.715 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.575e-05/0.325, allocations: 156.6 kB / 0.5272 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.325, allocations: 58.19 kB / 0.5273 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000738/0.3258, allocations: 1.002 MB / 0.5282 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3258, allocations: 0 / 0.5282 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.3258, allocations: 24.42 kB / 0.5283 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.3259, allocations: 42.19 kB / 0.5283 GB, free: 7.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000457/0.3263, allocations: 310.6 kB / 0.5286 GB, free: 7.598 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.002177/0.3285, allocations: 3.873 MB / 0.5324 GB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.3288, allocations: 211.2 kB / 0.5326 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.3289, allocations: 94.44 kB / 0.5327 GB, free: 4.184 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.126e-05/0.329, allocations: 22.09 kB / 0.5327 GB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.329, allocations: 43.52 kB / 0.5327 GB, free: 4.129 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.323e-06/0.329, allocations: 0 / 0.5327 GB, free: 4.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002728/0.3317, allocations: 1.171 MB / 0.5339 GB, free: 3.543 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.3318, allocations: 134.2 kB / 0.534 GB, free: 3.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.3322, allocations: 0.5383 MB / 0.5345 GB, free: 3.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.3322, allocations: 37.27 kB / 0.5346 GB, free: 3.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.3323, allocations: 434.1 kB / 0.535 GB, free: 2.688 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.404e-05/0.3324, allocations: 157.7 kB / 0.5351 GB, free: 2.566 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.3326, allocations: 154.2 kB / 0.5353 GB, free: 2.484 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.3326, allocations: 0.5503 MB / 0.5358 GB, free: 1.957 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3328, allocations: 89.31 kB / 0.5359 GB, free: 1.949 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.3331, allocations: 0.62 MB / 0.5365 GB, free: 1.238 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.3336, allocations: 0.6664 MB / 0.5372 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3336, allocations: 3.125 kB / 0.5372 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000778/0.3343, allocations: 0.6502 MB / 0.5378 GB, free: 328 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3344, allocations: 10 kB / 0.5378 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3344, allocations: 8.531 kB / 0.5378 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000691/0.3351, allocations: 250.3 kB / 0.5381 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.3353, allocations: 124.8 kB / 0.5382 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006449/0.3359, allocations: 1.007 MB / 0.5392 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.3362, allocations: 36.41 kB / 0.5392 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.3362, allocations: 54.64 kB / 0.5392 GB, free: 15.39 MB / 426.7 MB 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.0001683/0.3364, allocations: 207.2 kB / 0.5394 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.3365, allocations: 80.89 kB / 0.5395 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000834/0.3373, allocations: 0.6783 MB / 0.5402 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.3373, allocations: 11.98 kB / 0.5402 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3373, allocations: 0 / 0.5402 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3373, allocations: 0 / 0.5402 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3384, allocations: 0.9395 MB / 0.5411 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3384, allocations: 2.625 kB / 0.5411 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.3389, allocations: 195.5 kB / 0.5413 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-05/0.339, allocations: 24.88 kB / 0.5413 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.339, allocations: 17.75 kB / 0.5413 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.3406, allocations: 3.553 MB / 0.5448 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3406, allocations: 3.938 kB / 0.5448 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.3412, allocations: 0.5954 MB / 0.5454 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.3413, allocations: 101.6 kB / 0.5455 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.3414, allocations: 9.688 kB / 0.5455 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.3416, allocations: 17.28 kB / 0.5455 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.3417, allocations: 43.14 kB / 0.5456 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.3417, allocations: 36.81 kB / 0.5456 GB, free: 10.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002563/0.3419, allocations: 341.3 kB / 0.5459 GB, free: 10.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3419, allocations: 0 / 0.5459 GB, free: 10.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005449/0.3425, allocations: 253.5 kB / 0.5462 GB, free: 10.02 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.0004321/0.3429, allocations: 263.6 kB / 0.5464 GB, free: 9.871 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005901/0.3435, allocations: 389.1 kB / 0.5468 GB, free: 9.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3435, allocations: 0 / 0.5468 GB, free: 9.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.344, allocations: 390.8 kB / 0.5472 GB, free: 9.555 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007739/0.3448, allocations: 318.4 kB / 0.5475 GB, free: 9.477 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.3466, allocations: 1.152 MB / 0.5486 GB, free: 8.676 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.3467, allocations: 166 kB / 0.5487 GB, free: 8.555 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005552/0.3472, allocations: 421.5 kB / 0.5491 GB, free: 8.352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.3474, allocations: 95.39 kB / 0.5492 GB, free: 8.32 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3474, allocations: 2.938 kB / 0.5492 GB, free: 8.32 MB / 426.7 MB Notification: Performance of Templates: time 0.01678/0.3642, allocations: 14.93 MB / 0.5638 GB, free: 10.48 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.962357161100954]