Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.001433/0.001433, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001197/0.001197, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 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.9748/0.9748, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 251.5 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.228e-05, allocations: 10.25 kB / 251.5 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3001/0.3002, allocations: 142.8 MB / 394.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3013, allocations: 0.8156 MB / 395.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.3015, allocations: 6.469 kB / 395.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004791/0.302, allocations: 120.1 kB / 395.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000563/0.3026, allocations: 396.4 kB / 395.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008835/0.3034, allocations: 489 kB / 396.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008629/0.3043, allocations: 1.185 MB / 397.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.3046, allocations: 171.8 kB / 397.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.3068, allocations: 1.471 MB / 399 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004438/0.3072, allocations: 386.4 kB / 399.3 MB, free: 9.949 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.081e-05/0.3073, allocations: 66.19 kB / 399.4 MB, free: 9.949 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.3079, allocations: 251.4 kB / 399.6 MB, free: 9.895 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.3081, allocations: 472.8 kB / 400.1 MB, free: 9.758 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.3084, allocations: 382.5 kB / 400.5 MB, free: 9.695 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000803/0.3092, allocations: 1.02 MB / 401.5 MB, free: 9.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3092, allocations: 11.11 kB / 401.5 MB, free: 9.371 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3092, allocations: 0 / 401.5 MB, free: 9.371 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3092, allocations: 0 / 401.5 MB, free: 9.371 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001052/0.3102, allocations: 1.092 MB / 402.6 MB, free: 8.672 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3103, allocations: 18.7 kB / 402.6 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004487/0.3107, allocations: 234.5 kB / 402.8 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.3111, allocations: 384.3 kB / 403.2 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.3111, allocations: 49.31 kB / 403.3 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/0.3112, allocations: 76.69 kB / 403.3 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.3118, allocations: 1.053 MB / 404.4 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.3118, allocations: 11.89 kB / 404.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.3119, allocations: 32.95 kB / 404.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.3119, allocations: 45.67 kB / 404.5 MB, free: 7.391 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.3123, allocations: 262.4 kB / 404.7 MB, free: 7.316 MB / 330.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.002282/0.3146, allocations: 1.735 MB / 406.5 MB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.3149, allocations: 338.2 kB / 406.8 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.315, allocations: 148.3 kB / 407 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/0.315, allocations: 22 kB / 407 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.315, allocations: 49.05 kB / 407 MB, free: 6.406 MB / 330.7 MB Notification: Performance of pre-optimization done (n=59): time 2.505e-06/0.3151, allocations: 3.984 kB / 407 MB, free: 6.402 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.005156/0.3202, allocations: 2.771 MB / 409.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.3202, allocations: 61.44 kB / 409.9 MB, free: 5.281 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.3204, allocations: 337.8 kB / 410.2 MB, free: 5.066 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.3205, allocations: 43.98 kB / 410.2 MB, free: 5.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3206, allocations: 347.7 kB / 410.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.3207, allocations: 268.5 kB / 410.8 MB, free: 4.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.3208, allocations: 154.7 kB / 411 MB, free: 4.539 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.3209, allocations: 0.5321 MB / 411.5 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.3211, allocations: 134 kB / 411.6 MB, free: 4.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.3212, allocations: 242.5 kB / 411.9 MB, free: 3.891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.3216, allocations: 420.9 kB / 412.3 MB, free: 3.781 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3216, allocations: 0 / 412.3 MB, free: 3.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007569/0.3224, allocations: 0.6911 MB / 413 MB, free: 3.527 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3224, allocations: 5.875 kB / 413 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3224, allocations: 2.719 kB / 413 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.3227, allocations: 191.5 kB / 413.2 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.3232, allocations: 180.7 kB / 413.4 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006026/0.3292, allocations: 13.88 MB / 427.2 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.3297, allocations: 15.31 kB / 427.3 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.3297, allocations: 38.36 kB / 427.3 MB, free: 5.406 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 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): 7 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003449/0.3301, allocations: 209.9 kB / 427.5 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.3302, allocations: 67.92 kB / 427.6 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008517/0.331, allocations: 0.739 MB / 428.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.331, allocations: 8.5 kB / 428.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.331, allocations: 0 / 428.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007222/0.3318, allocations: 1.104 MB / 429.4 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.3333, allocations: 1.318 MB / 430.7 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3333, allocations: 0 / 430.7 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/0.3339, allocations: 221.1 kB / 430.9 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.334, allocations: 45.45 kB / 431 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-05/0.3341, allocations: 41.22 kB / 431 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008063/0.3349, allocations: 1.74 MB / 432.8 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3349, allocations: 6.312 kB / 432.8 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009616/0.3359, allocations: 0.9117 MB / 433.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.3359, allocations: 47.39 kB / 433.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.336, allocations: 32.73 kB / 433.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.3363, allocations: 38.41 kB / 433.8 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.3364, allocations: 55.25 kB / 433.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.3364, allocations: 57.88 kB / 433.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.3366, allocations: 216.7 kB / 434.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3366, allocations: 0 / 434.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009692/0.3375, allocations: 318.9 kB / 434.4 MB, free: 320 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (77): * Single equations (assignments): 76 * 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): 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.0008019/0.3383, allocations: 417.7 kB / 434.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.34, allocations: 1.804 MB / 436.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.34, allocations: 3.859 kB / 436.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.3405, allocations: 463.6 kB / 437.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.3415, allocations: 379.3 kB / 437.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.3441, allocations: 1.701 MB / 439.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.3443, allocations: 201 kB / 439.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004356/0.3447, allocations: 136.6 kB / 439.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007935/0.3455, allocations: 495.2 kB / 440 MB, free: 10.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.492e-06/0.3455, allocations: 0 / 440 MB, free: 10.82 MB / 362.7 MB Notification: Performance of Templates: time 0.028/0.3735, allocations: 25.22 MB / 465.2 MB, free: 1.609 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.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.9360688319429755]