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.002181/0.002181, allocations: 76.81 kB / 22.28 MB, free: 2.207 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: 163.3 kB / 25.7 MB, free: 8.438 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.9732/0.9732, allocations: 158.6 MB / 187.6 MB, free: 2.777 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 1.233e-06/1.233e-06, allocations: 0 / 251.6 MB, free: 7.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.506e-05, allocations: 6.25 kB / 251.6 MB, free: 7.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3072/0.3072, allocations: 145 MB / 396.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3085, allocations: 0.8378 MB / 397.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.3087, allocations: 6.594 kB / 397.4 MB, free: 9.086 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.3091, allocations: 124.4 kB / 397.6 MB, free: 9.051 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006071/0.3097, allocations: 392.5 kB / 397.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009097/0.3106, allocations: 488.1 kB / 398.4 MB, free: 8.973 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.3116, allocations: 1.18 MB / 399.6 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.3118, allocations: 178.5 kB / 399.8 MB, free: 8.832 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.3143, allocations: 1.458 MB / 401.2 MB, free: 8.535 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.3147, allocations: 364.2 kB / 401.6 MB, free: 8.418 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.3148, allocations: 65.78 kB / 401.7 MB, free: 8.418 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.3153, allocations: 251.1 kB / 401.9 MB, free: 8.367 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.3155, allocations: 467.3 kB / 402.4 MB, free: 8.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.3158, allocations: 392 kB / 402.7 MB, free: 8.164 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008797/0.3167, allocations: 1.016 MB / 403.8 MB, free: 7.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3167, allocations: 4 kB / 403.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3167, allocations: 0 / 403.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.3167, allocations: 0 / 403.8 MB, free: 7.844 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.0009311/0.3176, allocations: 0.9422 MB / 404.7 MB, free: 7.273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.3177, allocations: 12.17 kB / 404.7 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004487/0.3181, allocations: 223.2 kB / 404.9 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.3185, allocations: 346.3 kB / 405.3 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.3185, allocations: 49.62 kB / 405.3 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/0.3186, allocations: 83.3 kB / 405.4 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/0.3191, allocations: 1.081 MB / 406.5 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3192, allocations: 7.938 kB / 406.5 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.3192, allocations: 35.69 kB / 406.5 MB, free: 6.004 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.3193, allocations: 48.05 kB / 406.6 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.3195, allocations: 214.6 kB / 406.8 MB, free: 5.953 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.002082/0.3216, allocations: 1.525 MB / 408.3 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.3219, allocations: 341.4 kB / 408.6 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.322, allocations: 128.9 kB / 408.8 MB, free: 5.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.322, allocations: 21.95 kB / 408.8 MB, free: 5.203 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3221, allocations: 43.25 kB / 408.8 MB, free: 5.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=59): time 1.803e-06/0.3221, allocations: 0 / 408.8 MB, free: 5.16 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.004777/0.3268, allocations: 2.682 MB / 411.5 MB, free: 4.078 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.3269, allocations: 64.41 kB / 411.6 MB, free: 4.008 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.327, allocations: 261.5 kB / 411.8 MB, free: 3.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.327, allocations: 47.45 kB / 411.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.3271, allocations: 276.8 kB / 412.1 MB, free: 3.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.422e-05/0.3272, allocations: 261.6 kB / 412.4 MB, free: 3.418 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.3273, allocations: 128.3 kB / 412.5 MB, free: 3.383 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.3274, allocations: 357.5 kB / 412.9 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3275, allocations: 116.1 kB / 413 MB, free: 3.039 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.3277, allocations: 187.9 kB / 413.2 MB, free: 2.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.328, allocations: 387.5 kB / 413.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.328, allocations: 1.969 kB / 413.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005673/0.3286, allocations: 0.5346 MB / 414.1 MB, free: 2.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3286, allocations: 5.656 kB / 414.1 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3286, allocations: 2.5 kB / 414.1 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002381/0.3289, allocations: 172.2 kB / 414.3 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/0.3294, allocations: 205.7 kB / 414.5 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.3426, allocations: 10.98 MB / 425.4 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.3428, allocations: 19.5 kB / 425.5 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.3428, allocations: 37.86 kB / 425.5 MB, free: 8.059 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.0001899/0.343, allocations: 152 kB / 425.6 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.3431, allocations: 61.69 kB / 425.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006367/0.3437, allocations: 0.6026 MB / 426.3 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3437, allocations: 16.47 kB / 426.3 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.3437, allocations: 3.938 kB / 426.3 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005829/0.3443, allocations: 0.976 MB / 427.3 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.3456, allocations: 1.133 MB / 428.4 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3456, allocations: 0 / 428.4 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.3462, allocations: 258.4 kB / 428.7 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.791e-05/0.3463, allocations: 38.91 kB / 428.7 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.3464, allocations: 33.47 kB / 428.8 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000675/0.347, allocations: 1.217 MB / 430 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.347, allocations: 0 / 430 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007275/0.3478, allocations: 0.7719 MB / 430.8 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.3478, allocations: 43.7 kB / 430.8 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.3479, allocations: 28.73 kB / 430.8 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.3481, allocations: 34.03 kB / 430.9 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.3482, allocations: 55.38 kB / 430.9 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.3483, allocations: 50.06 kB / 431 MB, free: 3.461 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.636e-05/0.3483, allocations: 100.9 kB / 431.1 MB, free: 3.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3483, allocations: 0 / 431.1 MB, free: 3.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006077/0.3489, allocations: 315.4 kB / 431.4 MB, free: 3.09 MB / 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.0006842/0.3496, allocations: 395.5 kB / 431.8 MB, free: 2.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009599/0.3506, allocations: 1.32 MB / 433.1 MB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.3506, allocations: 7.859 kB / 433.1 MB, free: 1.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.3509, allocations: 377 kB / 433.4 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/0.3519, allocations: 378.9 kB / 433.8 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.3539, allocations: 1.551 MB / 435.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.354, allocations: 201.1 kB / 435.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003693/0.3544, allocations: 136.7 kB / 435.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007935/0.3552, allocations: 386.4 kB / 436.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3552, allocations: 0 / 436.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of Templates: time 0.02347/0.3786, allocations: 25.19 MB / 461.3 MB, free: 5.578 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 -s gbode -gbm=radauIIA3 -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.8417484359815717]