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.001161/0.001161, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001801/0.002962, allocations: 445.7 kB / 10.37 MB, free: 328 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.001194/0.001194, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00157/0.002763, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8908/0.8908, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1402/1.031, allocations: 49.48 MB / 220.6 MB, free: 1.445 MB / 218.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.453e-06/1.453e-06, allocations: 0 / 221.9 MB, free: 132 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.498e-05, allocations: 2.312 kB / 221.9 MB, free: 128 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2981/0.2981, allocations: 145.3 MB / 367.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.2993, allocations: 0.8495 MB / 368.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.2995, allocations: 11.94 kB / 368.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.2999, allocations: 117 kB / 368.2 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.3003, allocations: 393.6 kB / 368.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007419/0.301, allocations: 483.3 kB / 369.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.3023, allocations: 1.193 MB / 370.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.3025, allocations: 181.2 kB / 370.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.3046, allocations: 1.47 MB / 371.9 MB, free: 8.988 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.305, allocations: 363.1 kB / 372.3 MB, free: 8.633 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.418e-05/0.3051, allocations: 64 kB / 372.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.3055, allocations: 255.5 kB / 372.6 MB, free: 8.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.3057, allocations: 403.3 kB / 373 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.306, allocations: 311.6 kB / 373.3 MB, free: 7.621 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007777/0.3068, allocations: 0.9153 MB / 374.2 MB, free: 6.703 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.514e-05/0.3068, allocations: 0 / 374.2 MB, free: 6.703 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3068, allocations: 0 / 374.2 MB, free: 6.703 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.3068, allocations: 0 / 374.2 MB, free: 6.703 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.001265/0.3081, allocations: 1.15 MB / 375.3 MB, free: 5.523 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3081, allocations: 12.03 kB / 375.3 MB, free: 5.512 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005452/0.3087, allocations: 285.6 kB / 375.6 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.3091, allocations: 348.1 kB / 376 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.3092, allocations: 49.88 kB / 376 MB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.3093, allocations: 87.88 kB / 376.1 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.3104, allocations: 1.084 MB / 377.2 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.3104, allocations: 4 kB / 377.2 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/0.3104, allocations: 28 kB / 377.2 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.3105, allocations: 45.98 kB / 377.3 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.3107, allocations: 217.9 kB / 377.5 MB, free: 3.18 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.002245/0.313, allocations: 1.525 MB / 379 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.3133, allocations: 334.3 kB / 379.3 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.3134, allocations: 130.7 kB / 379.4 MB, free: 1.164 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.3134, allocations: 20.48 kB / 379.5 MB, free: 1.145 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.3135, allocations: 47.06 kB / 379.5 MB, free: 1.086 MB / 330.7 MB Notification: Performance of pre-optimization done (n=59): time 2.164e-06/0.3135, allocations: 0 / 379.5 MB, free: 1.086 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.004675/0.3181, allocations: 2.575 MB / 382.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.3182, allocations: 60.06 kB / 382.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.3183, allocations: 256.9 kB / 382.4 MB, free: 14.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/0.3184, allocations: 41.7 kB / 382.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3185, allocations: 281.2 kB / 382.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.3186, allocations: 269.6 kB / 383 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.3187, allocations: 130.6 kB / 383.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.3188, allocations: 358.7 kB / 383.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/0.3192, allocations: 112.8 kB / 383.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.3194, allocations: 192 kB / 383.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.3198, allocations: 378.8 kB / 384.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3198, allocations: 0 / 384.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006119/0.3204, allocations: 0.5374 MB / 384.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3204, allocations: 4 kB / 384.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3204, allocations: 0 / 384.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/0.3206, allocations: 166.4 kB / 384.8 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.3212, allocations: 223.9 kB / 385 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004625/0.3259, allocations: 9.884 MB / 394.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.3261, allocations: 23.94 kB / 394.9 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.3262, allocations: 40.05 kB / 395 MB, free: 0.5586 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.0001658/0.3263, allocations: 156.5 kB / 395.1 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-05/0.3264, allocations: 51.95 kB / 395.2 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006297/0.327, allocations: 0.5977 MB / 395.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.327, allocations: 8 kB / 395.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.327, allocations: 0 / 395.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005406/0.3276, allocations: 0.9839 MB / 396.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.329, allocations: 1.139 MB / 397.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.329, allocations: 0 / 397.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/0.3297, allocations: 267.7 kB / 398.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.3297, allocations: 39.77 kB / 398.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.501e-05/0.3298, allocations: 43.61 kB / 398.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.3298, allocations: 39.91 kB / 398.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005434/0.3304, allocations: 1.196 MB / 399.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3304, allocations: 11.88 kB / 399.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006931/0.3311, allocations: 0.7721 MB / 400.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.3311, allocations: 27.98 kB / 400.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.3314, allocations: 39.91 kB / 400.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.3315, allocations: 56.48 kB / 400.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/0.3315, allocations: 43.95 kB / 400.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.73e-05/0.3316, allocations: 94.77 kB / 400.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-08/0.3316, allocations: 0 / 400.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006177/0.3322, allocations: 315.8 kB / 400.8 MB, free: 10.32 MB / 362.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.0006234/0.3328, allocations: 365.8 kB / 401.2 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009546/0.3338, allocations: 1.323 MB / 402.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/0.3338, allocations: 8 kB / 402.5 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.3341, allocations: 372.8 kB / 402.9 MB, free: 8.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008371/0.335, allocations: 445 kB / 403.3 MB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005699/0.3407, allocations: 1.666 MB / 405 MB, free: 5.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.3408, allocations: 204.3 kB / 405.2 MB, free: 5.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003794/0.3412, allocations: 136.6 kB / 405.3 MB, free: 5.633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007763/0.342, allocations: 392.8 kB / 405.7 MB, free: 5.25 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.342, allocations: 4 kB / 405.7 MB, free: 5.246 MB / 362.7 MB Notification: Performance of Templates: time 0.02633/0.3683, allocations: 25.71 MB / 431.4 MB, free: 11.48 MB / 394.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 -ignoreHideResult -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.664550722576678]