Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009676/0.0009676, allocations: 79.92 kB / 20.72 MB, free: 3.766 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.001035/0.001035, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9257/0.9257, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1475/0.1475, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.862e-05, allocations: 2.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.318/0.318, allocations: 146.4 MB / 445.5 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006561/0.3245, allocations: 2.661 MB / 448.1 MB, free: 8.758 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.3256, allocations: 27.75 kB / 448.2 MB, free: 8.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.3266, allocations: 214.6 kB / 448.4 MB, free: 8.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005254/0.3318, allocations: 1.228 MB / 449.6 MB, free: 7.285 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.3348, allocations: 0.8417 MB / 450.4 MB, free: 6.441 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003562/0.3384, allocations: 1.918 MB / 452.4 MB, free: 4.516 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.3396, allocations: 439.8 kB / 452.8 MB, free: 4.082 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003837/0.3434, allocations: 1.219 MB / 454 MB, free: 2.859 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.3448, allocations: 0.5531 MB / 454.6 MB, free: 2.305 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000269/0.345, allocations: 63.98 kB / 454.6 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.3466, allocations: 475.2 kB / 455.1 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.347, allocations: 283.2 kB / 455.4 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006201/0.3476, allocations: 287.3 kB / 455.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.3502, allocations: 1.016 MB / 456.7 MB, free: 204 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3502, allocations: 3.938 kB / 456.7 MB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3502, allocations: 0 / 456.7 MB, free: 200 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.251e-05/0.3502, allocations: 0 / 456.7 MB, free: 200 kB / 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.2352/0.5854, allocations: 0.9738 MB / 457.6 MB, free: 13.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5855, allocations: 9.906 kB / 457.6 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008447/0.5863, allocations: 212.3 kB / 457.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008953/0.5872, allocations: 417.4 kB / 458.3 MB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.5873, allocations: 156.3 kB / 458.4 MB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.5874, allocations: 56.31 kB / 458.5 MB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.5884, allocations: 0.9173 MB / 459.4 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.5884, allocations: 1.516 kB / 459.4 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.5885, allocations: 20.31 kB / 459.4 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.846e-05/0.5886, allocations: 38.59 kB / 459.4 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.5891, allocations: 231.8 kB / 459.7 MB, free: 12.2 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.002795/0.5919, allocations: 2.674 MB / 462.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.5922, allocations: 158.9 kB / 462.5 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.5923, allocations: 64.78 kB / 462.6 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000316/0.5926, allocations: 134.8 kB / 462.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.5926, allocations: 41.98 kB / 462.7 MB, free: 10.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.576e-06/0.5926, allocations: 1.625 kB / 462.7 MB, free: 10.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002907/0.5955, allocations: 0.9314 MB / 463.7 MB, free: 9.934 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.5956, allocations: 134.1 kB / 463.8 MB, free: 9.777 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/0.596, allocations: 489.8 kB / 464.3 MB, free: 9.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.596, allocations: 32.33 kB / 464.3 MB, free: 9.594 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.5962, allocations: 341.9 kB / 464.6 MB, free: 9.363 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.499e-05/0.5963, allocations: 153.3 kB / 464.8 MB, free: 9.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.5964, allocations: 145.5 kB / 464.9 MB, free: 9.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.5965, allocations: 373.9 kB / 465.3 MB, free: 8.934 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.5967, allocations: 64.34 kB / 465.4 MB, free: 8.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.5969, allocations: 495.3 kB / 465.8 MB, free: 8.422 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.5974, allocations: 0.5234 MB / 466.4 MB, free: 8.039 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.5974, allocations: 8.125 kB / 466.4 MB, free: 8.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007277/0.5982, allocations: 498.1 kB / 466.9 MB, free: 7.984 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.5982, allocations: 10.47 kB / 466.9 MB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.5982, allocations: 10.56 kB / 466.9 MB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000701/0.5989, allocations: 223.9 kB / 467.1 MB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.5992, allocations: 130.6 kB / 467.2 MB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004864/0.5997, allocations: 0.6722 MB / 467.9 MB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.6, allocations: 29.22 kB / 467.9 MB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.6001, allocations: 54.78 kB / 468 MB, free: 7.441 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.0002034/0.6003, allocations: 160.6 kB / 468.1 MB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.17e-05/0.6004, allocations: 50.2 kB / 468.2 MB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006101/0.601, allocations: 409.3 kB / 468.6 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.601, allocations: 5.812 kB / 468.6 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.601, allocations: 0.7812 kB / 468.6 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.601, allocations: 3.547 kB / 468.6 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.6022, allocations: 0.7119 MB / 469.3 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6022, allocations: 2.344 kB / 469.3 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005027/0.6027, allocations: 169.4 kB / 469.5 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.6028, allocations: 23.38 kB / 469.5 MB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.6028, allocations: 11.2 kB / 469.5 MB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009384/0.6037, allocations: 2.402 MB / 471.9 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6037, allocations: 0 / 471.9 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.6042, allocations: 428.9 kB / 472.3 MB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.6044, allocations: 71.5 kB / 472.4 MB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.6044, allocations: 13.12 kB / 472.4 MB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.6046, allocations: 12.03 kB / 472.4 MB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.6047, allocations: 32.64 kB / 472.5 MB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.6047, allocations: 26.28 kB / 472.5 MB, free: 4.402 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001839/0.6049, allocations: 207.1 kB / 472.7 MB, free: 4.383 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.6049, allocations: 0 / 472.7 MB, free: 4.383 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000776/0.6057, allocations: 252.5 kB / 472.9 MB, free: 4.367 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0006374/0.6063, allocations: 288.9 kB / 473.2 MB, free: 4.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000574/0.6069, allocations: 326 kB / 473.5 MB, free: 4.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.409e-05/0.6069, allocations: 12.5 kB / 473.5 MB, free: 4.246 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.6073, allocations: 285.7 kB / 473.8 MB, free: 4.129 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007961/0.6081, allocations: 313 kB / 474.1 MB, free: 4.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.6099, allocations: 1.104 MB / 475.2 MB, free: 3.555 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.61, allocations: 169.7 kB / 475.4 MB, free: 3.473 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005186/0.6106, allocations: 167.2 kB / 475.6 MB, free: 3.438 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005499/0.6111, allocations: 305.3 kB / 475.9 MB, free: 3.387 MB / 410.7 MB Notification: Performance of SimCode: time 2.615e-06/0.6111, allocations: 1.203 kB / 475.9 MB, free: 3.387 MB / 410.7 MB Notification: Performance of Templates: time 0.02208/0.6332, allocations: 16.74 MB / 492.6 MB, free: 1.699 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.018186786677688]