Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001161/0.001161, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002572/0.003733, 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.001261/0.001261, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001564/0.002825, 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.9052/0.9052, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1597/1.065, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.1467/0.1467, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02232/0.1691, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.Air,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.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,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.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.94e-05, allocations: 6.25 kB / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2785/0.2785, allocations: 146.8 MB / 414.2 MB, free: 4.887 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006006/0.2845, allocations: 5.089 MB / 419.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.2849, allocations: 27.75 kB / 419.3 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.2853, allocations: 214.5 kB / 419.5 MB, free: 15.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.2872, allocations: 1.107 MB / 420.6 MB, free: 14.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.2885, allocations: 0.8145 MB / 421.5 MB, free: 13.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.2899, allocations: 1.933 MB / 423.4 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.2903, allocations: 418.6 kB / 423.8 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.2914, allocations: 1.18 MB / 425 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005232/0.2919, allocations: 0.5531 MB / 425.5 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.446e-05/0.292, allocations: 60 kB / 425.6 MB, free: 9.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.293, allocations: 0.5031 MB / 426.1 MB, free: 8.996 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.2932, allocations: 223.4 kB / 426.3 MB, free: 8.777 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.2934, allocations: 231.6 kB / 426.5 MB, free: 8.551 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008518/0.2942, allocations: 0.885 MB / 427.4 MB, free: 7.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.2942, allocations: 0 / 427.4 MB, free: 7.664 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2942, allocations: 0 / 427.4 MB, free: 7.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.2943, allocations: 0 / 427.4 MB, free: 7.664 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.00141/0.2957, allocations: 1.252 MB / 428.7 MB, free: 6.367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2957, allocations: 11.89 kB / 428.7 MB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005089/0.2962, allocations: 208.4 kB / 428.9 MB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.2967, allocations: 423.4 kB / 429.3 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-05/0.2968, allocations: 156.4 kB / 429.5 MB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.2969, allocations: 52.38 kB / 429.5 MB, free: 5.484 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006471/0.2975, allocations: 0.9222 MB / 430.4 MB, free: 4.398 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2975, allocations: 0 / 430.4 MB, free: 4.398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.2976, allocations: 27.98 kB / 430.5 MB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.2976, allocations: 44.95 kB / 430.5 MB, free: 4.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.2979, allocations: 225.4 kB / 430.7 MB, free: 4.105 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.00222/0.3001, allocations: 2.665 MB / 433.4 MB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.3003, allocations: 162.7 kB / 433.5 MB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.508e-05/0.3004, allocations: 73.38 kB / 433.6 MB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/0.3006, allocations: 133.9 kB / 433.7 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.3007, allocations: 38.84 kB / 433.8 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.422e-06/0.3007, allocations: 0 / 433.8 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.00229/0.303, allocations: 0.9669 MB / 434.7 MB, free: 15.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.303, allocations: 55.41 kB / 434.8 MB, free: 15.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.3033, allocations: 486.8 kB / 435.3 MB, free: 15.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3033, allocations: 33.7 kB / 435.3 MB, free: 15.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3035, allocations: 341 kB / 435.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.513e-05/0.3035, allocations: 146.8 kB / 435.8 MB, free: 14.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.3037, allocations: 142.5 kB / 435.9 MB, free: 14.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3038, allocations: 374.6 kB / 436.3 MB, free: 14.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.41e-05/0.3039, allocations: 73.95 kB / 436.4 MB, free: 14.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.3042, allocations: 487.6 kB / 436.8 MB, free: 13.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.3046, allocations: 0.57 MB / 437.4 MB, free: 12.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3046, allocations: 4 kB / 437.4 MB, free: 12.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005356/0.3051, allocations: 492.9 kB / 437.9 MB, free: 12.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3052, allocations: 11.94 kB / 437.9 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.3052, allocations: 12 kB / 437.9 MB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007694/0.3059, allocations: 215.6 kB / 438.1 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.3062, allocations: 144.6 kB / 438.3 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004954/0.3067, allocations: 0.6787 MB / 438.9 MB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.3069, allocations: 28 kB / 439 MB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.307, allocations: 47.98 kB / 439 MB, free: 11.21 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.0001754/0.3072, allocations: 161.7 kB / 439.2 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.3072, allocations: 51.94 kB / 439.2 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005383/0.3078, allocations: 397.3 kB / 439.6 MB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3078, allocations: 4 kB / 439.6 MB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3078, allocations: 4 kB / 439.6 MB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3078, allocations: 4 kB / 439.6 MB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.3089, allocations: 0.7123 MB / 440.3 MB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3089, allocations: 8.688 kB / 440.4 MB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.3094, allocations: 191.9 kB / 440.5 MB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3095, allocations: 67.61 kB / 440.6 MB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.441e-05/0.3096, allocations: 24.84 kB / 440.6 MB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.3096, allocations: 15.98 kB / 440.6 MB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.3109, allocations: 2.402 MB / 443 MB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3109, allocations: 0 / 443 MB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.3113, allocations: 407.2 kB / 443.4 MB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.3113, allocations: 15.98 kB / 443.5 MB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.3115, allocations: 12 kB / 443.5 MB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.3115, allocations: 31.94 kB / 443.5 MB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.3116, allocations: 27.98 kB / 443.5 MB, free: 6.422 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000159/0.3117, allocations: 204.3 kB / 443.7 MB, free: 6.223 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3117, allocations: 0 / 443.7 MB, free: 6.223 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005696/0.3123, allocations: 247.7 kB / 444 MB, free: 5.98 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.0006222/0.3129, allocations: 284.2 kB / 444.2 MB, free: 5.711 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005138/0.3134, allocations: 329.2 kB / 444.6 MB, free: 5.391 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.28e-05/0.3135, allocations: 12.5 kB / 444.6 MB, free: 5.379 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.3139, allocations: 328 kB / 444.9 MB, free: 5.039 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.3151, allocations: 1.807 MB / 446.7 MB, free: 2.926 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007409/0.3225, allocations: 1.126 MB / 447.8 MB, free: 1.754 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.3226, allocations: 170.4 kB / 448 MB, free: 1.566 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004337/0.3231, allocations: 153.6 kB / 448.2 MB, free: 1.414 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004965/0.3236, allocations: 305 kB / 448.5 MB, free: 1.117 MB / 426.7 MB Notification: Performance of SimCode: time 1.412e-06/0.3236, allocations: 0 / 448.5 MB, free: 1.117 MB / 426.7 MB Notification: Performance of Templates: time 0.1849/0.5084, allocations: 16.58 MB / 465 MB, free: 29.47 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.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.59227794688195]