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.000902/0.000902, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002271, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0009784/0.0009784, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002369, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9222/0.9222, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1572/1.079, allocations: 49.51 MB / 220.7 MB, free: 1.352 MB / 218.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.1258/0.1258, allocations: 32.36 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02175/0.1476, allocations: 12.3 MB / 266.1 MB, free: 3.879 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 2.555e-06/2.555e-06, allocations: 0 / 267.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/3.006e-05, allocations: 10.19 kB / 267.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2874/0.2874, allocations: 146.8 MB / 414.2 MB, free: 4.844 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004483/0.2919, allocations: 2.669 MB / 416.9 MB, free: 2.199 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006697/0.2925, allocations: 27.75 kB / 416.9 MB, free: 2.172 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.2931, allocations: 214.5 kB / 417.1 MB, free: 1.961 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.296, allocations: 1.208 MB / 418.3 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.2977, allocations: 0.8106 MB / 419.2 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001961/0.2997, allocations: 1.942 MB / 421.1 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007217/0.3004, allocations: 429.7 kB / 421.5 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.3026, allocations: 1.261 MB / 422.8 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008775/0.3035, allocations: 0.5609 MB / 423.3 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.3036, allocations: 60 kB / 423.4 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.305, allocations: 0.4913 MB / 423.9 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.3052, allocations: 231.4 kB / 424.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.3055, allocations: 231.6 kB / 424.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.3067, allocations: 0.8763 MB / 425.2 MB, free: 9.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.3068, allocations: 8 kB / 425.2 MB, free: 9.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3068, allocations: 0 / 425.2 MB, free: 9.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.724e-05/0.3068, allocations: 0 / 425.2 MB, free: 9.844 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.001714/0.3085, allocations: 1.261 MB / 426.5 MB, free: 8.539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3085, allocations: 8.031 kB / 426.5 MB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005592/0.3091, allocations: 208.4 kB / 426.7 MB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.3096, allocations: 419.4 kB / 427.1 MB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-05/0.3097, allocations: 152.4 kB / 427.3 MB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.3098, allocations: 60.36 kB / 427.3 MB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006445/0.3104, allocations: 0.9183 MB / 428.2 MB, free: 6.582 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.3105, allocations: 7.984 kB / 428.2 MB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.3105, allocations: 24 kB / 428.3 MB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/0.3106, allocations: 32.98 kB / 428.3 MB, free: 6.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.3108, allocations: 229.4 kB / 428.5 MB, free: 6.289 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.002102/0.3129, allocations: 2.669 MB / 431.2 MB, free: 3.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.3132, allocations: 167.6 kB / 431.4 MB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.3132, allocations: 65.39 kB / 431.4 MB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.3134, allocations: 130.2 kB / 431.5 MB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3135, allocations: 34.84 kB / 431.6 MB, free: 3.113 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.3135, allocations: 0 / 431.6 MB, free: 3.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002082/0.3155, allocations: 0.9731 MB / 432.6 MB, free: 2.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.3156, allocations: 55.41 kB / 432.6 MB, free: 2.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.3158, allocations: 486.8 kB / 433.1 MB, free: 1.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.3159, allocations: 33.7 kB / 433.1 MB, free: 1.496 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.316, allocations: 345 kB / 433.5 MB, free: 1.156 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/0.3161, allocations: 146.8 kB / 433.6 MB, free: 1.012 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.3162, allocations: 146.5 kB / 433.7 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.3163, allocations: 374.6 kB / 434.1 MB, free: 500 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.3164, allocations: 61.95 kB / 434.2 MB, free: 436 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.3166, allocations: 491.5 kB / 434.6 MB, free: 15.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.317, allocations: 0.57 MB / 435.2 MB, free: 15.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.317, allocations: 4 kB / 435.2 MB, free: 15.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005089/0.3175, allocations: 0.4884 MB / 435.7 MB, free: 14.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3175, allocations: 8 kB / 435.7 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3176, allocations: 14.48 kB / 435.7 MB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005068/0.3181, allocations: 219.4 kB / 435.9 MB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.3183, allocations: 144.6 kB / 436.1 MB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004081/0.3187, allocations: 0.6709 MB / 436.8 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.3189, allocations: 31.94 kB / 436.8 MB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.319, allocations: 47.98 kB / 436.8 MB, free: 13.39 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.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.0001443/0.3191, allocations: 165.1 kB / 437 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.3192, allocations: 51.94 kB / 437 MB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.3196, allocations: 397.3 kB / 437.4 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3196, allocations: 7.984 kB / 437.4 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.3197, allocations: 0 / 437.4 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3197, allocations: 0 / 437.4 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008391/0.3205, allocations: 0.7162 MB / 438.2 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3205, allocations: 0.6875 kB / 438.2 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.321, allocations: 191.8 kB / 438.3 MB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3211, allocations: 75.55 kB / 438.4 MB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-05/0.3212, allocations: 20.97 kB / 438.4 MB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.3212, allocations: 11.98 kB / 438.5 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009869/0.3222, allocations: 2.403 MB / 440.9 MB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3222, allocations: 4 kB / 440.9 MB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.3225, allocations: 418.8 kB / 441.3 MB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.3226, allocations: 8 kB / 441.3 MB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.3227, allocations: 12 kB / 441.3 MB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.3228, allocations: 31.94 kB / 441.3 MB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.3228, allocations: 23.98 kB / 441.3 MB, free: 8.602 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001426/0.323, allocations: 212.4 kB / 441.6 MB, free: 8.395 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.323, allocations: 0 / 441.6 MB, free: 8.395 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005029/0.3235, allocations: 247.7 kB / 441.8 MB, free: 8.152 MB / 426.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.0005262/0.324, allocations: 277.1 kB / 442.1 MB, free: 7.887 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004289/0.3244, allocations: 324.8 kB / 442.4 MB, free: 7.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.157e-05/0.3244, allocations: 16.5 kB / 442.4 MB, free: 7.555 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.3249, allocations: 325 kB / 442.7 MB, free: 7.219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3259, allocations: 1.807 MB / 444.5 MB, free: 5.105 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008213/0.3341, allocations: 1.132 MB / 445.7 MB, free: 3.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.3343, allocations: 170.4 kB / 445.8 MB, free: 3.742 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004836/0.3348, allocations: 153.6 kB / 446 MB, free: 3.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006224/0.3354, allocations: 305 kB / 446.3 MB, free: 3.293 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3354, allocations: 0 / 446.3 MB, free: 3.293 MB / 426.7 MB Notification: Performance of Templates: time 0.1797/0.5151, allocations: 16.63 MB / 462.9 MB, free: 31.86 MB / 426.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6742408154532313]